-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add affirmative output to oc policy / oadm policy
This patch adds affirmative output to commands that modify cluster and local roles for users and groups. **Examples** ``` $ oadm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth system:authenticated Successfully removed the "self-provisioner" cluster role from groups ["system:authenticated:oauth" "system:authenticated"]. $ oadm policy add-cluster-role-to-group self-provisioner system:authenticated:oauth Successfully added the "self-provisioner" cluster role to group "system:authenticated:oauth". $ oc policy add-role-to-user cluster-admin testuser Successfully added the "cluster-admin" role to user "testuser". $ oc policy remove-role-from-user cluster-admin testuser Successfully removed the "cluster-admin" role from user "testuser". ```
- Loading branch information
1 parent
1180f16
commit 37b8a80
Showing
2 changed files
with
56 additions
and
11 deletions.
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