mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
89cf16f915
## 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> |
||
---|---|---|
.. | ||
CreateProject | ||
DeleteProject | ||
EditProject | ||
hooks | ||
Import | ||
ProjectFeaturesArchive | ||
ProjectFeatureToggles | ||
ProjectForm | ||
ProjectHealth | ||
ProjectInfo | ||
ProjectLog | ||
ProjectSettings | ||
ProjectStats | ||
LazyProject.tsx | ||
LazyProjectExport.tsx | ||
Project.styles.ts | ||
Project.tsx | ||
ProjectOverview.tsx |