Skip to content

Commit eb3fb81

Browse files
authored
Merge pull request #7 from linuxfoundation/adesilva/import-fixes
fix: correct data references and update M2M authentication config
2 parents 596653b + fd37e69 commit eb3fb81

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

playbooks/committees/base_committees/buf_committees.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ buf_committees:
4848
name: Technical Oversight Committee
4949
description: >-
5050
The Technical Oversight Committee for the Big Umbrella Foundation (BUF).
51-
category: Technical Oversight Committee/Technical Advisory Committee
51+
category: Technical Oversight Committee
5252
public: true
5353
enable_voting: true
5454
business_email_required: true

playbooks/projects/base_projects/3_umbrellas.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sample_umbrella_iubp:
4949
url: {{ environ.PROJECTS_URL | default("http://lfx-v2-project-service.lfx.svc.cluster.local:8080/projects") }}
5050
method: POST
5151
headers:
52-
Authorization: Bearer {{ environ.PROJECTS_TOKEN | default("-") }}
52+
Authorization: !jwt bearer=true,aud=lfx-v2-project-service,principal=clients@m2m_helper
5353
steps:
5454
- json:
5555
slug: industry-umbrella-branded-projects-iubp

playbooks/projects/root_project_access/global_groups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ global_groups:
2929
object: "team:project_super_admins"
3030
# A M2M principal from lfx-v2-helm's values.yaml
3131
# (authelia.authelia_client_generation.clients).
32-
- user: "user:clients@m2m_test"
32+
- user: "user:clients@lfx_m2m"
3333
relation: member
3434
object: "team:project_super_admins"
3535
# Attach the global group with the above members to the ROOT

playbooks/v1_meetings/umbrella_board_meeting/board_meeting.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ buf_board_past_meeting_{{ past_meeting_index }}_recording_access_update:
429429
steps:
430430
- json:
431431
# Only include the fields needed for access control
432-
id: !ref buf_board_past_meeting_{{ past_meeting_index }}_recording_create.steps[0].json.data.meeting_and_occurrence_id
433-
meeting_and_occurrence_id: !ref buf_board_past_meeting_{{ past_meeting_index }}_recording_create.steps[0].json.data.meeting_and_occurrence_id
432+
id: !ref buf_board_past_meeting_{{ past_meeting_index }}_recording_create.steps[0].json.data.id
433+
meeting_and_occurrence_id: !ref buf_board_past_meeting_{{ past_meeting_index }}_recording_create.steps[0].json.data.id
434434
recording_access: public
435435
participants:
436436
{% for i in range(board_member_count) %}
@@ -517,8 +517,8 @@ buf_board_past_meeting_{{ past_meeting_index }}_transcript_access_update:
517517
steps:
518518
- json:
519519
# Only include the fields needed for access control
520-
id: !ref buf_board_past_meeting_{{ past_meeting_index }}_transcript_create.steps[0].json.data.meeting_and_occurrence_id
521-
meeting_and_occurrence_id: !ref buf_board_past_meeting_{{ past_meeting_index }}_transcript_create.steps[0].json.data.meeting_and_occurrence_id
520+
id: !ref buf_board_past_meeting_{{ past_meeting_index }}_transcript_create.steps[0].json.data.id
521+
meeting_and_occurrence_id: !ref buf_board_past_meeting_{{ past_meeting_index }}_transcript_create.steps[0].json.data.id
522522
transcript_access: public
523523
participants:
524524
{% for i in range(board_member_count) %}
@@ -647,7 +647,7 @@ buf_board_past_meeting_{{ past_meeting_index }}_participants_create:
647647
org: !ref "buf_board_members.steps[{{ i }}].json.organization.name"
648648
committee_role: !ref "buf_board_members.steps[{{ i }}].json.role.name"
649649
org_is_project_member: !ref "buf_board_meeting_committee_participants_create.steps[{{ i }}].json.data.org_is_project_member"
650-
registrant_id: !ref "buf_board_meeting_committee_participants_create.steps[{{ i }}].json.data.registrant_id"
650+
registrant_id: !ref "buf_board_meeting_committee_participants_create.steps[{{ i }}].json.data.id"
651651
invitee_id: {{ fake.uuid4() }}
652652
email: !ref "buf_board_members.steps[{{ i }}].json.email"
653653
first_name: !ref "buf_board_members.steps[{{ i }}].json.first_name"

0 commit comments

Comments
 (0)