Implement access management #196
Labels
priority: medium
Medium priority
type: auth
Related to authorization or authentication
type: security
Related to security
workload: days
Likely takes days to resolve
Is your feature request related to a problem? Please describe.
Currently, access to cwl-WES is granted to everyone with a valid bearer token, provided that the
authorization_required
option is enabled in the app configuration (cwl_wes/config/app_config.yaml
). However, resources are only restricted inasmuch that users can only performGET
operations on workflow runs they have created themselves viaPOST /runs
. To protect cwl-WES resources from unprivileged users, access to bothPOST
andGET
methods on/runs
and derived endpoints should be granted only if a given user has the necessary permissions.Describe the solution you'd like
Ideally, access management should follow the GA4GH Passport specification to ensure that only privileged users can access resources.
Users are granted access to a resource only if their token contains the necessary visa.
Describe alternatives you've considered
Alternatively, or in addition, an access control management endpoint should be designed that allows devops/system admins to set permissions individually for each user and/or user groups (e.g. ELIXIR AAI groups).
Additional context
N/A
The text was updated successfully, but these errors were encountered: