1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/hooks
Gastón Fournier 7a48fb57a6
feat: permission matrix (PoC) (#6223)
## About the changes
This is a rough initial version as a PoC for a permission matrix. 

This is only available after enabling the flag `userAccessUIEnabled`
that is set to true by default in local development.

The access was added to the users' admin page but could be embedded in
different contexts (e.g. when assigning a role to a user):

![image](https://github.com/Unleash/unleash/assets/455064/3f541f46-99bb-409b-a0fe-13f5d3f9572a)


This is how the matrix looks like

![screencapture-localhost-3000-admin-users-3-access-2024-02-13-12_15_44](https://github.com/Unleash/unleash/assets/455064/183deeb6-a0dc-470f-924c-f435c6196407)

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-02-16 14:31:33 +01:00
..
api feat: permission matrix (PoC) (#6223) 2024-02-16 14:31:33 +01:00
useChangeRequestAddStrategy.ts
useChangeRequestInReviewWarning.tsx refactor: use union types for change request types (#5870) 2024-01-12 13:15:43 +05:30
useChangeRequestsEnabled.test.tsx
useChangeRequestsEnabled.ts
useChangeRequestToggle.ts feat: add disabled state handling on slow network (#6165) 2024-02-08 10:27:51 +01:00
useCollaborateData.tsx
useConditionallyHiddenColumns.ts
useDefaultProjectSettings.ts
useDragItem.ts
useEventSettings.ts
useFormErrors.ts
useGlobalLocalStorage.ts refactor: cleanup fix for persistent set (#6060) 2024-01-29 12:33:01 +01:00
useGlobalState.ts
useHasAccess.ts
useHiddenEnvironments.ts refactor: cleanup fix for persistent set (#6060) 2024-01-29 12:33:01 +01:00
useHighestPermissionChangeRequestEnvironment.test.ts
useHighestPermissionChangeRequestEnvironment.ts
useId.test.ts
useId.ts
useIsAppleDevice.ts
useKeyboardShortcut.ts
useLastViewedProject.ts
useLoading.ts fix: now project overview has skeleton instead of placeholders (#5696) 2023-12-20 14:59:41 +02:00
useLocationSettings.ts
useOnBlur.test.tsx
useOnBlur.ts
useOnClickOutside.test.tsx
useOnClickOutside.ts
useOnVisible.ts
useOptionalPathParam.ts
usePageTitle.ts
usePagination.ts
usePersistentGlobalState.ts
usePersistentTableState.test.tsx test: show array param decoder (#5955) 2024-01-19 09:27:47 +01:00
usePersistentTableState.ts feat: keep filter order (#5688) 2023-12-19 15:35:39 +01:00
usePinnedFavorites.test.ts
usePinnedFavorites.ts
usePlausibleTracker.ts feat: add plausible change-requests-conflicts (#6024) 2024-01-24 21:46:08 +02:00
useQueryParams.ts
useRequiredPathParam.ts
useRequiredQueryParam.ts
useSearch.test.tsx
useSearch.ts chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) 2023-11-28 09:32:00 +00:00
useSubmittedFeedback.ts chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
useTabs.ts
useThemeMode.ts
useToast.tsx
useUiFlag.ts
useUsersPlan.ts
useVariant.ts
useVirtualizedRange.ts
useWeakMap.ts fix: separate concerns for ConstraintAccordionList (#5701) 2023-12-20 15:36:23 +01:00