Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix: restrict concept permissions in role 15 - #153

Merged
pieterlukasse merged 3 commits into
2.15.0-DEVfrom
fix/restric_concept_permissions_in_role_15
Aug 12, 2024
Merged

pieterlukasse merged 3 commits into
2.15.0-DEVfrom
fix/restric_concept_permissions_in_role_15

Conversation

@pieterlukasse

@pieterlukasse pieterlukasse commented Aug 1, 2024

Copy link
Copy Markdown

Link to JIRA ticket if there is one: https://ctds-planx.atlassian.net/browse/VADC-1220

Bug Fixes

  • new migration script that moves too broad conceptset:* permissions into narrow ones linked to specific individual conceptsets
  • respective java code change in ConceptSetPermissionSchema.java that ensures these specific individual permissions are tied to new conceptsets moving forward.

Improvements

  • added, for completeness, a missing migration step to a previous migration script. This does not affect the next deployment.

@pieterlukasse
pieterlukasse force-pushed the fix/restric_concept_permissions_in_role_15 branch from 2da04dc to fe41f53 Compare August 2, 2024 17:55
@pieterlukasse
pieterlukasse marked this pull request as ready for review August 2, 2024 17:58
@pieterlukasse
pieterlukasse force-pushed the fix/restric_concept_permissions_in_role_15 branch from fe41f53 to cbffd39 Compare August 2, 2024 18:05
@pieterlukasse
pieterlukasse requested a review from m0nhawk August 2, 2024 18:06

@m0nhawk m0nhawk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

1 small comment.

...linked to specific individual conceptsets
These changes remove the need for having these permissions granted as * permission.
Instead, users now get a conceptset specific permission.
@pieterlukasse
pieterlukasse force-pushed the fix/restric_concept_permissions_in_role_15 branch from cbffd39 to 5f51983 Compare August 12, 2024 15:08
@pieterlukasse
pieterlukasse merged commit 506e347 into 2.15.0-DEV Aug 12, 2024
@pieterlukasse
pieterlukasse deleted the fix/restric_concept_permissions_in_role_15 branch August 12, 2024 17:48
pieterlukasse added a commit that referenced this pull request Apr 10, 2025
* fix: added missing migration line to prev migration script

Adding this for completeness...

* fix: move too broad conceptset:* permissions to narrow ones

...linked to specific individual conceptsets

* fix: added missing readPermissions for conceptsets

These changes remove the need for having these permissions granted as * permission.
Instead, users now get a conceptset specific permission.
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.

2 participants