Add ability to create/update a project with fine-grained job token permissions
For the Settings -> CI/CD -> Job token permissions section, we need to add a radio selector to select between default and fine-grained permissions, then implement the permissions list:
| Fine-grained permissions | Dropdown values |
|---|---|
![]() |
![]() |
Specifically:
-
A radio selector with the label
Permissionsshould be added below the group/project dropdown. WhenDefault permissionsis selected, the fine-grained permissions list is hidden. WhenFine-grained permissionsis selected, the list should be shown. -
The fine-grained permissions list should be added. The descriptions for each item should be left out for now because they are not available yet. The item names should be hard-coded based on the possible values in
policies.rb. Alternatively, pass the values from backend to frontend and let frontend parse out the item names. -
The dropdown should have 3 possible selections:
None(default),Read only, andRead and write. -
In the added group/project list, add an Edit icon button that when clicked, will bring up the same form as the
Add group or projectbutton does, except with the group dropdown disabled.

