You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
During update user role for non existence user id, doesn't fails in policy layer, Instead it fails in repo layer after adding policy in spiceDB them it rollback the policy.
Describe the feature you are requesting, as well as the possible use case(s) for it.
Instead of checking the user existence in repo layer, we should check user id is belongs to Magistrala Platform as member in policy layer( spiceDB).
Indicate the importance of this feature to you.
Should-have
Anything else?
No response
The text was updated successfully, but these errors were encountered:
dborovcanin
changed the title
Feature: In update user role , Add policy for role should fail if user id is not member of Magistrala platform
Feature: Update User role should fail fast for unknown user IDs
May 15, 2024
Is your feature request related to a problem? Please describe.
During update user role for non existence user id, doesn't fails in policy layer, Instead it fails in repo layer after adding policy in spiceDB them it rollback the policy.
Describe the feature you are requesting, as well as the possible use case(s) for it.
Instead of checking the user existence in repo layer, we should check user id is belongs to Magistrala Platform as member in policy layer( spiceDB).
Indicate the importance of this feature to you.
Should-have
Anything else?
No response
The text was updated successfully, but these errors were encountered: