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

capture visibility attribute for ontologies #10

Closed
carueda opened this issue Jun 9, 2016 · 2 comments
Closed

capture visibility attribute for ontologies #10

carueda opened this issue Jun 9, 2016 · 2 comments
Assignees
Milestone

Comments

@carueda
Copy link
Member

carueda commented Jun 9, 2016

There are 3 values for the ontology 'visibility' attribute:

  1. 'Visible only to the owner'. Depending on the designated owner, this means:
    • only visible to the submitting user when no associated organization is designated as the "owner"
    • only visible to the members of the selected organization
  2. 'Visible only to logged-in users'
  3. 'Public' (visible to any visitor / API-accessible with no restriction)

The visibility attribute to apply at the version level (not globally to the ontology as a whole).

@graybeal FYI and any comments.

@carueda carueda mentioned this issue Jun 9, 2016
@carueda carueda self-assigned this Jun 9, 2016
@carueda carueda changed the title capture visibility capture visibility attribute for ontologies Jun 12, 2016
carueda added a commit that referenced this issue Jun 13, 2016
resolve #10: "capture visibility attribute for ontologies"
@carueda
Copy link
Member Author

carueda commented Jun 14, 2016

Implemented.

  • POST and PUT /ont now accept a visibility parameter. Possible values: "owner", "user", "public". Default value: "owner".
  • GET /ont (no specific URI requested): returns list according to requester and visibility as specified.

Note: The visibility attribute is mainly only for purposes of the main ontology listing. So:

  • no restriction if specific ontology URI is requested
  • triple store always updated with the latest ontology version regardless of its associated visibility

@carueda carueda reopened this Jun 24, 2016
@carueda
Copy link
Member Author

carueda commented Jun 24, 2016

Per discussion today, re-opening to only handle the "owner" and "public" option.

@carueda carueda modified the milestone: ESIPSummer16 Jun 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant