Skip to content

Commit

Permalink
chore(manager): better text for edit:permissions again
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 9, 2024
1 parent de408a8 commit ea513bf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/modules/authz/help.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ReactNode } from "react";
import { Typography } from "antd";
import {
analyzeData,
createDataset,
Expand Down Expand Up @@ -73,10 +74,13 @@ export const PERMISSIONS_HELP: Record<string, ReactNode> = {

// permissions
[viewPermissions]: "Whether the subject can view permissions on this resource, or any given sub-resource.",
[editPermissions]:
"Whether the subject can edit permissions which apply to only this resource, or any sub-resources. For example, " +
"a user with the edit:permissions permission on just a specific dataset cannot edit grants for the project which " +
"contains this dataset.",
[editPermissions]: (
<>
Whether the subject can edit permissions which apply to only this resource, or any sub-resources. For example, a
user with the <Typography.Text code={true}>edit:permissions</Typography.Text> permission on just a specific
dataset cannot edit grants for the project which contains this dataset.
</>
),

// private_portal
"view:private_portal": (
Expand Down

0 comments on commit ea513bf

Please sign in to comment.