-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a READER role that gives read access to users and groups info #842
base: develop
Are you sure you want to change the base?
Conversation
I notice that a user with monitoring privileges (ROLE_READER) is not able to access to Also, user can try to remove members from a group getting, of course, a 403 error after clicking. Should the Remove button be hidden? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me all ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are ok to me and I have nothing to correct 👍
Coverage is ok but we didn't add specific tests about this role. I'd say it's important to add some specific tests in particular that check those users are not allowed to get for example x509 PEM certificates of these users. But the real problem is that admins currently can see them and probably what we wants is that both admins and readers can't access them and tests should be oriented to this behavior. Then, probably, we need a different issue that addresses this change, which is more complex: currently there are no views on SCIM model objects. This change is required before introducing this READER role. I'm realizing this now. We can talk about this during today IAM community meeting.
Now ROLE_READER can access to |
Try to solve these issues where possible |
As of now I have hidden the x509 certificate section from Admin and Reader from UI. Could you please raise an issue with more details regarding the new view of SCIM modal task. |
Hi Manoj, both admins and users with ROLE_READER should see users' x509 certificates from UI. The idea was to hide only the pem-encoded certificate from SCIM API. |
iam-persistence/src/main/resources/db/migration/h2/V106___add_reader_authority.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move V106 migrations to V107 or higher
|
This reverts commit ae09f39.
This reverts commit 22faeb3.
- set end time to current date in case user is not found on API - set ent time to current date when user has no experiment participation at all
The 64 char limit on label val is not enough to store Institute.
* Add motivation to the message published into RegistrationRejectEvent
56cd8b1
to
edcebe1
Compare
|
|
No description provided.