-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[ChangeSafety] Remove Policy Token Flag #32883
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
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -227,10 +227,8 @@ def __call__(self, parser, namespace, value, option_string=None): | |
| command.add_argument('_change_reference', '--change-reference', **change_reference_kwargs) | ||
| command.add_argument('_acquire_policy_token', '--acquire-policy-token', **acquire_policy_token_kwargs) | ||
|
|
||
| policy_token_feature_enabled = cli_ctx.config.getboolean('core', 'enable_policy_token', False) | ||
| if policy_token_feature_enabled: | ||
| from knack import events | ||
| cli_ctx.register_event(events.EVENT_INVOKER_POST_CMD_TBL_CREATE, add_global_policy_argument) | ||
| from knack import events | ||
| cli_ctx.register_event(events.EVENT_INVOKER_POST_CMD_TBL_CREATE, add_global_policy_argument) | ||
|
Comment on lines
+230
to
+231
|
||
|
|
||
|
|
||
| # pylint: disable=too-many-statements | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description is currently the template and doesn’t document the impact of making
--change-reference/--acquire-policy-tokenalways available (potential CLI surface-area/breaking-change implications) or how it was tested. Please fill in the related command(s), rationale, and a concrete testing guide so reviewers can validate the behavior change.