Skip to content

Conversation

@Leopold-Cramer
Copy link
Contributor

@Leopold-Cramer Leopold-Cramer commented Nov 12, 2024

restrict the possibility for the role_viewer to see the details of security

@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch from 0d54122 to c51ee71 Compare November 12, 2024 14:14
@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch 2 times, most recently from be4716c to fd058b5 Compare November 25, 2024 08:53
modified tests in all services after role_viewer got the right to read security
added check in each services for each returned objects containing security
if security was returned and the user has the role viewer then only minimal informations on security are returned
default security is unchanged, the access control list contains only the user with the role viewer
@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch from fd058b5 to fb4b166 Compare November 26, 2024 16:01
Copy link
Member

@jreynard-code jreynard-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lots of remarks, but don't be afraid, there are a lot of duplication.
Feel free to change one module at a time and I will double check that with you each time.
Good job btw ;)

@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch 2 times, most recently from ee7d78d to bbc22a4 Compare December 10, 2024 10:33
@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch from bbc22a4 to 7e7a2c0 Compare December 10, 2024 10:39
@Leopold-Cramer Leopold-Cramer changed the title modify test after role_viewer reading rights removal restrict the possibility for the role_viewer to see the details of security Dec 10, 2024
Copy link
Member

@jreynard-code jreynard-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple remark that I missed at first sight.
Except that, GG ;)

@Leopold-Cramer Leopold-Cramer force-pushed the LCRA/change_security_visibility_per_role_PROD-14053 branch from 7e7a2c0 to 4e34baa Compare December 10, 2024 16:09
@jreynard-code jreynard-code self-requested a review December 10, 2024 20:10
Copy link
Member

@jreynard-code jreynard-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Leopold-Cramer Leopold-Cramer merged commit 79e37bd into main Dec 11, 2024
33 checks passed
@Leopold-Cramer Leopold-Cramer deleted the LCRA/change_security_visibility_per_role_PROD-14053 branch December 11, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants