Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • by default allow creation of users and groups

  • handle user login and return a token

    • consider integration support for institutional SSO in case of mms webapps

  • for users with the right permissions (ex. admin), modify permissions to mms resources

    • ex. add write permission to a project for a group or user

    • set a project public (read access for anonymous users)

  • given a token (or none for anonymous), return all readable/writable projects for user

    • in addition can accept a list of projects and return user’s permission for each

  • token includes permissions info for the user that can be decrypted by SPARQL proxy (for performance reasons), (project id, branch id permission)

Example use case flow:

  1. user (ex. auth service api client) logins with auth service and receives a token

  2. user calls the view service, passing it the token

  3. view service does whatever it needs to do, eventually ending up with some SPARQL, and sends it to SPARQL proxy with the token

  4. SPARQL proxy calls Auth service with the token to get permission info, and rewrites (if needed) the SPARQL and sends it to the db

  5. results from db are passed back to view service and back to user in whatever format/schema the view service api provides

...