Skip to content

Commit

Permalink
feat(KFLUXUI-175): give up SpaceBindingRequest and enjoy RoleBinding
Browse files Browse the repository at this point in the history
  • Loading branch information
testcara committed Jan 22, 2025
1 parent 94ef75c commit 3ab4b52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/components/UserAccess/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ export const grantAccessPageLoader = createLoaderWithAccessCheck(() => null, {
verb: 'create',
});

<<<<<<< HEAD
=======
// We delete and create roles which looks like 'patch'.
>>>>>>> 9edc1c1 (feat(KFLUXUI-175): give up SpaceBindingRequest and enjoy RoleBinding)
export const editAccessPageLoader = createLoaderWithAccessCheck(() => null, {
model: RoleBindingModel,
verb: 'patch',
Expand Down
4 changes: 0 additions & 4 deletions src/components/UserAccess/user-access-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ export const useRBActions = (binding: RoleBinding): Action[] => {
},
{
cta: () => showModal(revokeAccessModalLauncher(userSubject?.name, binding)),
<<<<<<< HEAD
id: `revoke-access-${userSubject?.name}`, // Use subject name instead of masterUserRecord
=======
id: `revoke-access-${userSubject?.name}`,
>>>>>>> 9edc1c1 (feat(KFLUXUI-175): give up SpaceBindingRequest and enjoy RoleBinding)
label: 'Revoke access',
disabled: !canDelete,
disabledTooltip: "You don't have permission to revoke access",
Expand Down

0 comments on commit 3ab4b52

Please sign in to comment.