-
Notifications
You must be signed in to change notification settings - Fork 86
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
VIVO-4030 #482
base: main
Are you sure you want to change the base?
VIVO-4030 #482
Conversation
The migration from 1.14 doesn't seem to be working for me. Here are the steps I did:
|
First step should be to clean tdbConfigurationModels, not tdbContentModels |
Retract comment below; caused by operator error. Above steps do work.
|
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.
Tested upgrade from 1.14.3 and editing of publish flags in 1.15. The object and data properties now appear in the public linked data where enabled. The only thing I noticed in testing is that we lack rdf:type and rdfs:label in the public linked data, but they appear when the linked data is requested by a root user. This makes some sense, since there is no place to edit permissions for these properties in the backend editor, but these are probably the two most useful things to include in linked data. Perhaps they were always published before regardless of role level? If that's the case and it's easy to replicate that behavior here, maybe it would make sense to include in this PR. Otherwise, we can open a separate issue.
…s with public role
…ion 2. Added public publish policy dataset.
Rebased PR on top of main branch. Added publish permissions for rdfs:label and rdf:type properties. |
VIVO GitHub issue
Related VIVO PR
What does this pull request do?
Created policy data sets for publish operations on properties by users with public role.
Created policy data sets for publish operations on classes by users with public role.
Removed exceptional case related to publish operation and public role in edit form.
Adjusted authorization migration script to retain publish and update permissions related to public role.
Created migration for instances which have already updated to access control configuration version 1, which is part of VIVO 1.15.0
How should this be tested?
Try migration for VIVO instances earlier than 1.15.0 release. Verify that publish permissions related to public role are preserved and could be modified.
For VIVO 1.15.0 this fix should allow to assign publish property permissions to public role.
Interested parties
@VIVO-project/vivo-committers
Reviewers' expertise
Candidates for reviewing this PR should have some of the following expertises:
Reviewers' report template
Please update the following template which should be used by reviewers.
General comment
A reviewer should provide here comments and suggestions for requested changes if any.
Testing
A reviewer should briefly describe here how it was tested
Code reviewing
A reviewer should briefly describe here which part was code reviewed