-
Notifications
You must be signed in to change notification settings - Fork 531
Add acknowledgment before publishing #12051
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
Open
stevenwinship
wants to merge
24
commits into
develop
Choose a base branch
from
359-enhance-publishing-message-acknowledgement
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c7f53d4
Add ackowledgment before publishing
stevenwinship b6383e5
release note
stevenwinship 2bc9ca2
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship f4b3f87
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 84d792a
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 60ffb29
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 2100340
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 2885cc3
add ack to api
stevenwinship a192c52
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 0ca367d
move json code to json printer
stevenwinship 0c4ee0a
refactor to remove API publish blocking code
stevenwinship 237f389
refactor to remove API publish blocking code
stevenwinship 573e379
refactor to remove API publish blocking code
stevenwinship dba437e
refactor to remove API publish blocking code
stevenwinship 34c5b17
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 2ea2d06
update doc
stevenwinship 0e53d1e
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship 97514b2
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship e4a4074
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship e6aca17
add info API to get disclaimer text
stevenwinship 6a5ee28
fix
stevenwinship 8e13c7b
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship c8fbec4
add cross refference to settings
stevenwinship ded9a4d
Merge branch 'develop' into 359-enhance-publishing-message-acknowledg…
stevenwinship File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
doc/release-notes/359-enhance-publishing-message-acknowledgement.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| ## Publishing Enhancement ## | ||
|
|
||
| Before a Dataset can be published the user must acknowledge acceptance of the disclaimer if it is required. | ||
|
|
||
| The setting "PublishDatasetDisclaimerText", when set, will prevent a draft dataset from being published without the user acknowledging the disclaimer. | ||
| The approved disclaimer text is `"By publishing this dataset, I fully accept all legal responsibility for ensuring that the deposited content is: anonymized, free of copyright violations, and contains data that is computationally reusable. I understand and agree that any violation of these conditions may result in the immediate removal of the dataset by the repository without prior notice."` | ||
|
|
||
| To enable/disable the acknowledgement requirement an Admin can set/delete the setting using the following APIs: | ||
|
|
||
| `curl -X PUT -d "By publishing this dataset, I fully accept all legal responsibility for ensuring that the deposited content is: anonymized, free of copyright violations, and contains data that is computationally reusable. I understand and agree that any violation of these conditions may result in the immediate removal of the dataset by the repository without prior notice." http://localhost:8080/api/admin/settings/:PublishDatasetDisclaimerText` | ||
|
|
||
| `curl -X DELETE http://localhost:8080/api/admin/settings/:PublishDatasetDisclaimerText` | ||
|
|
||
| The UI will prevent the user from publishing a Dataset unless the disclaimer is acknowledged. | ||
|
|
||
| The APIs will continue to publish without the acknowledgement for now. An Info API getter was added for non-superusers to get the disclaimer text. | ||
|
|
||
| `curl -X GET http://localhost:8080/api/info/settings/:PublishDatasetDisclaimerText` | ||
|
|
||
| See: | ||
| - [#359](https://github.com/IQSS/dataverse.harvard.edu/issues/359) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.