-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add role-based access control #488
Comments
It's correct that the default behavior is to reject requests that do not have the OWNER role. All messages from the job manager to the scheduler will have the OWNER role.
Happy to help with the design if you'd like to explain the use case. Is this to enable CLI tools used by guests to send administrative requests to the scheduler? |
Thanks @garlick. This was created to log a loose end @SteVwonder and I identified as part of the PR and in fact to call out some use cases as well. There will be multiple use case:
I can see a general scheme where these front end commands are generally first coming to flux-core which then get authenticated and sent to the sched components. In a sense, free/exception request from jobmanager would be one such an example. IMO this cheme will simplify things a lot within sched. In a sense our scheduler will "implement" the interface dictated by the flux-core for the requests that have been already authenticated and thus belong to the instance owner. But then there will be likely other use cases specific to this scheduler, which are not covered by such an approach. Those are the ones tha would be supported through role based control within the sched itself if needed? |
See The job manager ignores these right now but it would be trivial to update the job manager and the queue lister to track and display them. |
Oh. This sounds pretty promising. Yeah the more the scheduler can push such job info to jobmanager and have it deal with user facing, the better the separation of concerns... |
Random thought: We could also expand the human readable |
@grondo: yes, I like this line of thinking a lot as it extend |
I will close this w/ the recent annotation API improvements. The only non owner RPC is |
As part of PR #481, @SteVwonder mentioned:
This is to create role.based control within both qmanager and resource.
The text was updated successfully, but these errors were encountered: