Skip to content

Commit a7e73e1

Browse files
committed
fix(site): drop additionalImpliedRoles JSDoc
1 parent 51ac2f0 commit a7e73e1

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

site/src/modules/roles/RoleSelector.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ type RoleSelectorProps = {
1616
loading?: boolean;
1717
error?: unknown;
1818
availableRoles?: AssignableRoles[];
19-
/**
20-
* Extra roles to display below `Member` as always-granted (implied)
21-
* rows. Used by the org members editor to surface the organization's
22-
* `default_org_member_roles` alongside the built-in `member` role.
23-
* Roles listed here are filtered out of the selectable list because
24-
* users cannot toggle implied roles.
25-
*/
2619
additionalImpliedRoles?: AssignableRoles[];
2720
selectedRoles: Set<string>;
2821
onChange: (roles: Set<string>) => void;

site/src/modules/roles/RoleSelectorDialog.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ type RoleSelectorDialogProps = {
2020
user?: ThingWithRoles;
2121
/** The roles available in this context that can be given or removed from the user */
2222
availableRoles?: AssignableRoles[];
23-
/**
24-
* Extra roles to display as always-granted (implied) below `Member`.
25-
* Pass through to the underlying selector. Used on the org members
26-
* editor to surface the org's `default_org_member_roles`.
27-
*/
2823
additionalImpliedRoles?: AssignableRoles[];
2924

3025
onCancel: () => void;

0 commit comments

Comments
 (0)