Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolve #295
Backend kbss-cvut/record-manager#98
For internal authorization, I created a copy for each role group with the impersonate role, since we don’t support manually assigning roles through a selector.
For Keycloak, I created a composite role called impersonate-role. When a user assigns this role, it also grants the resource_access role from the realm-management client (impersonation). I made this proxy role to allow impersonation to be assigned through realm access.
realm_access - global roles across the realm
resource_access - roles of concrete client
I dont know what is wrong with the tests in User Component. They are passed successfully locally. They should be rewritten because they use a very old TestUtils class. I began to rewrite them in #293.