1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/frontend/src/component/project/Project
Gastón Fournier 89cf16f915
Feat/more granular permissions check in create apitoken (#4072)
## About the changes
This PR enables or disables create API token button based on the
permissions.

**Note:** the button is only displayed if you have READ permissions on
some API token. This is a minor limitation as having CREATE permissions
should also grant READ permissions, but right now this is up to the user
to set up the custom role with the correct permissions

**Note 2:** Project-specific API tokens are also ruled by the
project-specific permission to create API tokens in a project (just
having the root permissions to create a client token or frontend token
does not grant access to create a project-specific API token). The
permissions to access the creation of a project-specific API token then
rely on the root permissions to allow the user to create either a client
token or a frontend token.

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-06-23 10:57:08 +02:00
..
CreateProject Feat: plausible tracking stickiness (#3363) 2023-03-22 20:04:02 +02:00
DeleteProject New project page header (#1207) 2022-08-08 09:59:36 +00:00
EditProject Feat: plausible tracking stickiness (#3363) 2023-03-22 20:04:02 +02:00
hooks chore: refactor Cypress tests (#3445) 2023-04-04 11:46:28 +03:00
Import fix: fix broken ImportOptions.tsx (#3657) 2023-05-02 10:17:05 +03:00
ProjectFeaturesArchive fix: group project access inconsistencies (#1178) 2022-08-04 12:57:25 +01:00
ProjectFeatureToggles fix: column initial state for project features (#3983) 2023-06-15 14:39:58 +03:00
ProjectForm chore: remove projectScopedStickinessFlag (#3620) 2023-04-26 17:07:09 +03:00
ProjectHealth filter out unused fields as they fail import validation (#2997) 2023-01-26 09:48:10 +01:00
ProjectInfo Fix/strategy UI improvements (#3766) 2023-05-16 11:15:59 +00:00
ProjectLog feat: add event log to project (#2136) 2022-10-12 14:40:37 +02:00
ProjectSettings Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
ProjectStats feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
LazyProject.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyProjectExport.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
Project.styles.ts feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
Project.tsx Fix/strategy UI improvements (#3766) 2023-05-16 11:15:59 +00:00
ProjectOverview.tsx refactor: misc cleanups (#4022) 2023-06-21 15:08:52 +01:00