Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field to store whether a workflow allows setting access grants
Sufia allows depositors to set other users who can edit a work. This is perfect for a zero step workflow, but for a mediated deposit workflow, we don't want anyone to be able to edit the work once it is accepted. We need a place to store whether we should be showing the UI widget that allows the creator to share access. Ref samvera-deprecated/sufia#3134
- Loading branch information
Showing
5 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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
5 changes: 5 additions & 0 deletions
5
db/migrate/20170308175556_add_allows_access_grant_to_workflow.rb
This file contains 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,5 @@ | ||
class AddAllowsAccessGrantToWorkflow < ActiveRecord::Migration | ||
def change | ||
add_column :sipity_workflows, :allows_access_grant, :boolean | ||
end | ||
end |
This file contains 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 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