remove service user exception

This commit is contained in:
pascal
2026-04-24 15:25:20 +02:00
parent 381858a865
commit 312bcf6398
24 changed files with 33 additions and 33 deletions

View File

@@ -122,10 +122,6 @@ func (m *managerImpl) ValidateUserPermissions(
return false, err
}
if operation == operations.Read && user.IsServiceUser {
return true, nil // this should be replaced by proper granular access role
}
role, ok := roles.RolesMap[user.Role]
if !ok {
return false, status.NewUserRoleNotFoundError(string(user.Role))