Last active
June 5, 2017 17:40
-
-
Save atz/7e21e9500268e72479f2b473ac45972d to your computer and use it in GitHub Desktop.
Addressing Lease/Embargo (and other) Visibility constraints in Samvera
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
SAMVERA PROPOSAL: | |
"Scope of visibility" questions should resolve to (multivalued) date range fields: | |
~ visibility_public_drsim | |
~ visibility_institution_drsim | |
~ etc. | |
For each non-private vis. type the user has access to, queries of the form, e.g.: | |
"-visibility_public_drsim:[* TO *] OR visibility_public_drsim:NOW" | |
That is to say: "either it doesn't have visibility_public date period, or that period intersects now" | |
Advantages: | |
~ solves the complete problem. | |
~ combines both lease and embargo elements, allows multiples of each if desired | |
~ allows calendar visualization from indexed doc, both user and admin views |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment