Add binaryservice
This commit is contained in:
@@ -85,5 +85,5 @@ func UserIDFromContext(ctx context.Context) string {
|
||||
func RoleAtLeast(ctx context.Context, role pb.User_Role) bool {
|
||||
ctxRole := RoleFromContext(ctx)
|
||||
|
||||
return ctxRole > role
|
||||
return ctxRole >= role
|
||||
}
|
||||
|
Reference in New Issue
Block a user