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

Backport of Improve ux to help users avoid overwriting fields of ACL tokens, roles and policies into release/1.15.x #16489

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #16288 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

  • Marking mergePolicies for deprecation and encouraging the use of -append-policy-id and -append-policy-name to reduce the ambiguity when overwriting fields on update
  • Updating docs to clarify that using: -policy-id and -policy-name will overwrite existing policies
  • Marking mergeRoles for deprecation and encouraging the use of -append-role-id and -append-role-name to reduce the ambiguity when overwriting fields on update
  • Updating docs to clarify that using: -append-role-id and -append-role-name will overwrite existing policies

TODO

  • add tests cases
  • update description
  • Do exact thing for -merge-roles as we did for -merge-policies
  • add change-log
  • de-duplicate all the logics

Testing & Reproduction steps

  • In the case of bugs, describe how to replicate
  • If any manual tests were done, document the steps and the conditions to replicate
  • Call out any important/ relevant unit tests, e2e tests or integration tests you have added or are adding

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@github-actions github-actions bot added theme/cli Flags and documentation for the CLI interface type/docs Documentation needs to be created/updated/clarified labels Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/cli Flags and documentation for the CLI interface type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants