Merge pull request #987 from Infisical/permissioning-style-improvements

change certain permissioning text
This commit is contained in:
vmatsiiako
2023-09-18 21:17:35 -07:00
committed by GitHub
2 changed files with 3 additions and 4 deletions
@@ -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>
@@ -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) => {