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

Roles are being created when they are defined in a Policy even if the create_role key is set to false #77

Open
ricrodriguezg opened this issue Jun 3, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ricrodriguezg
Copy link

PROBLEM SUMMARY

While performing some test in order to set up the defaults_roles key in the default policy with the create_role key set to false it was observed that when adding a non-existing role, that role was being created and added to the defaults_roles key of the policy.

STEPS TO REPRODUCE

  • Modify the already existing default policy to add a non-existing role.
    image

EXPECTED RESULTS
The defaults_roles should point to nil since the specified role does not exist.

ACTUAL RESULTS

The is being created and is being added to the defaults_roles list of the default policy

ENVIRONMENT DETAILS

Vault v1.7.1
venafi-pki-monitor v0.9.0

COMMENTS/WORKAROUNDS
None

@ricrodriguezg ricrodriguezg added the bug Something isn't working label Jun 3, 2021
@ricrodriguezg ricrodriguezg changed the title Roles are being created when they are defined in a Policy even if the create_role key sis set to false Roles are being created when they are defined in a Policy even if the create_role key is set to false Jun 3, 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
Projects
None yet
Development

No branches or pull requests

1 participant