Skip to content
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

Only .yaml files are loaded, not .yml #50

Open
blag opened this issue May 11, 2021 · 0 comments
Open

Only .yaml files are loaded, not .yml #50

blag opened this issue May 11, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@blag
Copy link
Contributor

blag commented May 11, 2021

Files using the .yml file extension are not picked up by the RBAC backend, even though they are valid YAML files and that is a valid YAML file extension.

2021-05-11 15:33:16,873 INFO [-] Loading role definitions from "/opt/stackstorm/rbac/roles/"
2021-05-11 15:33:16,873 INFO [-] Loading user role assignments from "/opt/stackstorm/rbac/assignments/"
2021-05-11 15:33:16,874 INFO [-] Loading group to role map definitions from "/opt/stackstorm/rbac/mappings/"
2021-05-11 15:33:16,874 INFO [-] Synchronizing roles...

After renaming to use .yaml:

2021-05-11 15:33:36,197 INFO [-] Loading role definitions from "/opt/stackstorm/rbac/roles/"
2021-05-11 15:33:36,197 INFO [-] Loading user role assignments from "/opt/stackstorm/rbac/assignments/"
2021-05-11 15:33:36,197 INFO [-] Loading group to role map definitions from "/opt/stackstorm/rbac/mappings/"
2021-05-11 15:33:36,197 DEBUG [-] Loading group to role mapping from: /opt/stackstorm/rbac/mappings/stormers.yaml
2021-05-11 15:33:36,263 INFO [-] Synchronizing roles...
@blag blag added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant