Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grant admin a role on the system during bootstrap
Now that we have system scope in place, we should make sure at least one user has a role assignment on the system. We can do this at the same time we grant the user a role on a project during bootstrap. This is backwards compatible because even if a deployment doesn't use system-scope, the assignment will just sit there. The deployment will have to opt into enforcing scope by updating configuration options for oslo.policy to enforce scoping. This shouldn't prevent deployments from fixing bug 968696 and using system scope. Closes-Bug: 1749268 Change-Id: I6b7196a28867d9a699716c8fef2609d608a5b2a2
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters