8000 chore: add an unassign action for roles by aslilac · Pull Request #16728 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: add an unassign action for roles #16728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
🧪
  • Loading branch information
aslilac committed Feb 27, 2025
commit b22e415a211b6182adc3d80bf39afca8cf2ffbeb
2 changes: 1 addition & 1 deletion coderd/database/dbauthz/dbauthz_test.go
677B
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ func (s *MethodTestSuite) TestUser() {
SitePermissions: nil,
OrgPermissions: nil,
UserPermissions: nil,
}).Asserts(rbac.ResourceAssignOrgRole.InOrg(customRole.OrganizationID.UUID), policy.ActionUpdate).ErrorsWithPG(sql.ErrNoRows)
}).Asserts(rbac.ResourceAssignOrgRole.InOrg(customRole.OrganizationID.UUID), policy.ActionUpdate)
}))
s.Run("SitePermissions/UpdateCustomRole", s.Subtest(func(db database.Store, check *expects) {
check.Args(database.UpdateCustomRoleParams{
Expand Down
Loading
0