-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
EnhancementImprovement of an existing featureImprovement of an existing featureSpikeInvestigation to gain knowledge or reduce uncertaintyInvestigation to gain knowledge or reduce uncertainty
Description
Currently the ml-forecast service expects read:admin write:admin roles (#3)
These are quite broad and don't indicate that they provide access to this service, therefore ideally the service has more specific roles such as write:config-forecast read:config-forecast or something similar.
Investigate this particular issue and detail a method on how to implement more granular and service-specific roles.
Ideally this implementation allows annotation similar to JAX-RS e.g. RolesAllowed this should be fairly straight forward using python decorators. This can also then be used to automatically exclude paths from the middleware that are missing the appropriate annotation.
Metadata
Metadata
Assignees
Labels
EnhancementImprovement of an existing featureImprovement of an existing featureSpikeInvestigation to gain knowledge or reduce uncertaintyInvestigation to gain knowledge or reduce uncertainty