Populate admin user with predefined permissions set during adding tenant to Consortia

Description

Purpose/Overview:

We need to modify POST /tenant endpoint with adding new parameter: adminUserId and use this parameter to create predefined set of permissions in the desired tenant

Acceptance criteria:

  • POST /tenant endpoint is modified with adding new parameter adminUserId and creating predefined set of permissions in the desored tenant

  • Logic to store predefined set of permission for admin user in csv file is written, also this logic should be reusable because in future we can create second csv file to store permissions for system user as well to send kafka messages from this system user

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Serhii_Nosko June 2, 2023 at 11:15 AM

All works as expected, tested on Rancher.

Shadow admin user was created in college tenant (using mobius_admin from central tenant)

Permission user also was created with required permission:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 16, 2023 at 6:35 AM
Updated June 2, 2023 at 11:15 AM
Resolved June 2, 2023 at 11:15 AM
TestRail: Cases
TestRail: Runs