Skip to content
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

Combine / disambiguate _access and access_right #37

Closed
fenekku opened this issue Nov 27, 2019 · 2 comments
Closed

Combine / disambiguate _access and access_right #37

fenekku opened this issue Nov 27, 2019 · 2 comments
Labels
question Further information is requested stale

Comments

@fenekku
Copy link
Contributor

fenekku commented Nov 27, 2019

2 parts to this task: discuss the differences / combination and implement.

access_right can currently be:

  • 'open'
  • 'embargoed'
  • 'restricted'
  • 'closed'

'_access' can be:

    'metadata_restricted': <true|false>    
    'files_restricted': <true|false>

This leads to strange combinations: an open access record with files restricted or a record with metadata restricted but files not restricted or an open record with metadata restricted... The first in particular is something participants in our usability sessions have complained about: "An open access record should have its files available" to paraphrase.

What also makes things hard to keep straight is that we have a rights field (the license) and an access_levels field.

Because of this, I suggest we merge them together. This way, only combinations that make sense are possible and the combinations are not across different fields but within 1 field. We can always have the UI reflect what we want from this 1 field. Enforcing a strict semantic we can cover most cases (I think?) with something like the following for example:

New "access_right" field metadata available? files available?
open ✔️ ✔️
embargoed ✔️ ❌ until embargo date (unless user has permissions)
scheduled (or embargoed with added metadata) ❌ until embargo date (unless user has permissions) ❌ until embargo date (unless user has permissions)
restricted ✔️ ❌ (unless user has permissions)
closed private ❌ (unless user has permissions) ❌ (unless user has permissions)

I am completely fine with having access_right be bibliographic AND "interpreted" metadata.

What are your thoughts @lnielsen @ppanero ?

[UPDATED 2019-12-20]

@fenekku fenekku added the question Further information is requested label Nov 27, 2019
@fenekku fenekku changed the title Combine or disambiguate _access and access_right Combine / disambiguate _access and access_right Dec 20, 2019
@fenekku fenekku mentioned this issue Dec 20, 2019
16 tasks
@ppanero ppanero mentioned this issue Feb 3, 2020
@github-actions
Copy link
Contributor

This issue was automatically marked as stale.

@github-actions github-actions bot added the stale label Jan 28, 2021
@lnielsen
Copy link
Member

Separate issues have been opened for the access implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants