Page tree

Versions Compared

Key

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

...

The central entity is the user which, by assumption, owns resources he grants access to. A client can then define reliable clients and administrate there grant as well as bearer (access) tokens. This workflow however is not defined by the above database schema nor oAuth2. Flarecast do not provide corresponding functionalities for managing users at the moment, so each user has to be manually added to the database. Furthermore, a fine-grained user management system may add some user roles which could then be mapped to specific scopes. An example may look likeis given by the following table:

User RoleResource ScopeExample
ReaderreadAccess to protected routes for querying configurations of prediction algorithms.
WriterwriteAccess to protected routes for adding prediction data to existing predictions.
Moderatorread, writeFull (read and write) access to the prediction service.
Administratorread, write, executeFull access to the workflow management service, including protected routes for running and stopping Docker containers.