This is a feature because it adds the following functionality: client check check in policy layer when updating client role.
What does this do?
This PR modifies the update client role functionality to check for client existence in the policy layer (spiceDB) instead of the repo layer. This prevents the system from adding a policy for a non-existent user and then having to roll it back.
What type of PR is this?
This is a feature because it adds the following functionality: client check check in policy layer when updating client role.
What does this do?
This PR modifies the update client role functionality to check for client existence in the policy layer (spiceDB) instead of the repo layer. This prevents the system from adding a policy for a non-existent user and then having to roll it back.
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
No
Did you document any new/modified feature?
No