1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component/admin
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
..
apiToken Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
auth fix: add confirmation to disable password login (#3829) 2023-05-23 15:56:34 +01:00
billing fix: add trial expired warning for enterprise (#3997) 2023-06-16 13:35:24 +02:00
cors clear warnings (#3053) 2023-02-07 08:41:23 +01:00
groups fix: add admin guard to groups (#4069) 2023-06-22 15:37:02 +01:00
instance-admin fix: ensure rel=noreferrer on target=_blank (#3755) 2023-05-12 09:51:33 +01:00
invoice feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
maintenance refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
menu feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
network fix: dark theme UI fixes (#3423) 2023-03-30 16:57:35 +01:00
roles fix: update roles permission guard (#4070) 2023-06-22 14:43:26 +00:00
serviceAccounts feat: use new role components in project access (#4018) 2023-06-21 08:16:37 +01:00
users feat: use new role components in project access (#4018) 2023-06-21 08:16:37 +01:00
Admin.tsx feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
AdminRedirect.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyAdmin.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyAdminExport.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00