Frontend: Manage group secrets manager permissions
Why are we doing this work
This adds the permission settings for group secrets manager.
Implementation table
| header | header |
|---|---|
| backend | #577341 (closed) |
| frontend |
|
Implementation plan
We need to update the following:
-
UI change: Replace the dropdown with a text input field where users provide the group full path directly. This requires the backend mutation to be updated first to accept group full path instead of id. -
User list endpoint change: Ensure we're using GET /projects/:id/members/allfor fetching the users list (verify we're not using/api/:version/projects/:id/users). -
Use new fetch query for fetching group secrets manager permissions -
Use new update mutation for creating/updating group secrets manager permissions -
Use new delete mutation for deleting group secrets manager permissions -
Merge CreateandUpdatepermission into oneWritepermission
This could be implemented in multiple MRs as these queries and mutations become available.
Verification steps
- Upload a Premium license (or above).
- Set up openbao and enable the secrets manager on your gdk.
- Enable the
secrets_manager_groupfeature flag. - Go to your group settings (Settings > General) and expand Visibility, project features, permissions or Permissions and group features to manage permissions.
Edited by Mireya Andres