mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 18:26:04 +00:00
change some permissioning text
This commit is contained in:
@@ -45,8 +45,7 @@ export const withPermission = <T extends {}, J extends TOrgPermission>(
|
|||||||
<div>
|
<div>
|
||||||
<div className="text-4xl font-medium mb-2">Access Restricted</div>
|
<div className="text-4xl font-medium mb-2">Access Restricted</div>
|
||||||
<div className="text-sm">
|
<div className="text-sm">
|
||||||
Your role has limited permissions, please <br /> You do not have permission to this
|
Your role has limited permissions, please <br /> contact your admin to gain access
|
||||||
page.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+2
-2
@@ -23,8 +23,8 @@ enum Permission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const PERMISSIONS = [
|
const PERMISSIONS = [
|
||||||
{ action: "edit", label: "Update workspace details" },
|
{ action: "edit", label: "Update project details" },
|
||||||
{ action: "delete", label: "Delete workspace" }
|
{ action: "delete", label: "Delete projects" }
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export const WsProjectPermission = ({ isNonEditable, setValue, control }: Props) => {
|
export const WsProjectPermission = ({ isNonEditable, setValue, control }: Props) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user