SAK-43233: Resources > enforce copyright selection for URLs on create if required #7893
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://jira.sakaiproject.org/browse/SAK-43233
There is a sakai.property to force selection of a copyright status (
copyright.requireChoice
). There is also a new sakai.property (introduced in Sakai 12) to display the copyright selection component for the "Web Links (URLs)" resource type (content.url.rightsdialog
).If both properties are set to
true
, the copyright selection should be enforced when creating new Web Links; but it is not. If you do not select a copyright status (found within the "Add details for this item" panel), and save it should prompt you to select a copyright status, but it does not.When editing a Web Link (with both properties set to
true
), the copyright enforcement is enforced.Enforce copyright status selection on creation of Web Links when both properties are set to true.