mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 13:56:43 +00:00
Add secret share permissions
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next";
|
||||
|
||||
import { PageHeader } from "@app/components/v2";
|
||||
import {
|
||||
OrgPermissionActions,
|
||||
OrgPermissionSecretShareAction,
|
||||
OrgPermissionSubjects
|
||||
} from "@app/context/OrgPermissionContext/types";
|
||||
import { withPermission } from "@app/hoc";
|
||||
@@ -29,7 +29,7 @@ export const SecretSharingSettingsPage = withPermission(
|
||||
);
|
||||
},
|
||||
{
|
||||
action: OrgPermissionActions.Edit,
|
||||
subject: OrgPermissionSubjects.Settings
|
||||
action: OrgPermissionSecretShareAction.ManageSettings,
|
||||
subject: OrgPermissionSubjects.SecretShare
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user