Skip to content
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

Fix: base copy permission on read permission #51

Draft
wants to merge 9 commits into
base: 2.15.0-DEV
Choose a base branch
from

Conversation

pieterlukasse
Copy link

...i.e. read permission should be sufficient to let the user copy the cohortdefinition

Link to JIRA ticket if there is one:

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

m0nhawk and others added 9 commits May 31, 2024 16:09
Signed-off-by: Andrew Prokhorenkov <[email protected]>

...at 6a6e63c
…s for users

TODO: This should be made configurable in the future...
…te access to a global shared artifact reader role that would be given to all users.

Next steps are to
1) make this configurable,
2) allow users to configure the global author role if they want only some users to be able to grant global read access,
and 3) set up global read role for all users as a default assigned system role

Other commit messages squashed in here:
- first working configuration of sharing using an authoring role
- some fixes to global sharing after testing; moved the shared reader role to a new roleid.
- started to implement the ability to hide the share-global buttons but then decided not to
- changed the 'shared artifact reader' role checked by Atlas to be the 'public' role since this would remove the need to change WebAPI to add a new system role that pretty much duplicates 'public'
- added the configurable ability to restrict generation of a given cohort  to only persons who have been granted permission to change the same cohort.
…bal sharing

...and introduce some other fixes:
- fix: correct styling for sharing buttons on access modal ui
- fix: cleanup/remove unnecessary parts
- fix: adjust permission name to "artifact:global:share:put" to better reflect its real purpose
- fix: better name for isPermittedGlobalShareArtifact (previous name isPermittedGlobalShareCohort did not reflect the
  fact that it is about all kind of artifacts)
- fix: move isOwner() check and make sure it is only applied when !config.limitedPermissionManagement
- fix: move isOwner() check for conceptset-manager
...i.e. read permission should be sufficient to let the user copy the cohortdefinition
@pieterlukasse pieterlukasse changed the title fix: base copy permission on read permission Fix: base copy permission on read permission Jun 14, 2024
@pieterlukasse pieterlukasse marked this pull request as draft June 14, 2024 15:39
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