mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
feat: remove access overview flag making it GA ready (#9654)
This is exposing information we already have about permissions in a UI that should help users have an overview of the permissions of a user with regards to projects and environments
This commit is contained in:
parent
ce230ba96b
commit
eae7535bfc
@ -58,7 +58,6 @@ const UsersList = () => {
|
||||
}>({
|
||||
open: false,
|
||||
});
|
||||
const userAccessUIEnabled = useUiFlag('userAccessUIEnabled');
|
||||
const showUserDeviceCount = useUiFlag('showUserDeviceCount');
|
||||
const showSSOUpgrade = isOss() && users.length > 3;
|
||||
|
||||
@ -218,15 +217,9 @@ const UsersList = () => {
|
||||
onEdit={() => {
|
||||
navigate(`/admin/users/${user.id}/edit`);
|
||||
}}
|
||||
onViewAccess={
|
||||
userAccessUIEnabled
|
||||
? () => {
|
||||
navigate(
|
||||
`/admin/users/${user.id}/access`,
|
||||
);
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
onViewAccess={() => {
|
||||
navigate(`/admin/users/${user.id}/access`);
|
||||
}}
|
||||
onChangePassword={openPwDialog(user)}
|
||||
onResetPassword={openResetPwDialog(user)}
|
||||
onDelete={openDelDialog(user)}
|
||||
@ -250,7 +243,7 @@ const UsersList = () => {
|
||||
searchable: true,
|
||||
},
|
||||
],
|
||||
[roles, navigate, isBillingUsers, userAccessUIEnabled],
|
||||
[roles, navigate, isBillingUsers],
|
||||
);
|
||||
|
||||
const initialState = useMemo(() => {
|
||||
|
@ -74,7 +74,6 @@ export type UiFlags = {
|
||||
feedbackComments?: Variant;
|
||||
showInactiveUsers?: boolean;
|
||||
feedbackPosting?: boolean;
|
||||
userAccessUIEnabled?: boolean;
|
||||
outdatedSdksBanner?: boolean;
|
||||
estimateTrafficDataCost?: boolean;
|
||||
disableShowContextFieldSelectionValues?: boolean;
|
||||
|
@ -36,7 +36,6 @@ export type IFlagKey =
|
||||
| 'estimateTrafficDataCost'
|
||||
| 'useMemoizedActiveTokens'
|
||||
| 'queryMissingTokens'
|
||||
| 'userAccessUIEnabled'
|
||||
| 'disableUpdateMaxRevisionId'
|
||||
| 'disablePublishUnannouncedEvents'
|
||||
| 'outdatedSdksBanner'
|
||||
@ -197,10 +196,6 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_ESTIMATE_TRAFFIC_DATA_COST,
|
||||
false,
|
||||
),
|
||||
userAccessUIEnabled: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_USER_ACCESS_UI_ENABLED,
|
||||
false,
|
||||
),
|
||||
disableUpdateMaxRevisionId: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_DISABLE_SCHEDULED_CACHES,
|
||||
false,
|
||||
|
@ -40,7 +40,6 @@ process.nextTick(async () => {
|
||||
embedProxyFrontend: true,
|
||||
anonymiseEventLog: false,
|
||||
responseTimeWithAppNameKillSwitch: false,
|
||||
userAccessUIEnabled: true,
|
||||
outdatedSdksBanner: true,
|
||||
disableShowContextFieldSelectionValues: false,
|
||||
feedbackPosting: true,
|
||||
|
Loading…
Reference in New Issue
Block a user