Skip to content

Commit

Permalink
MAke Any role not a valid role
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Jan 24, 2025
1 parent 166f3e0 commit 7306701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var validRoles = map[UserRole]bool{
AdminRole: true,
ManagerRole: true,
ViewerRole: true,
AnyRole: true,
AnyRole: false,
}

// IsValidUserRole function checks if the user role is valid
Expand Down

0 comments on commit 7306701

Please sign in to comment.