diff --git a/db/const.go b/db/const.go index c612f48..32d4c05 100644 --- a/db/const.go +++ b/db/const.go @@ -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