Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1511298 - Adding the cluster role to group mulitple time for same role and group
Summary: Adding the cluster role to group mulitple time for same role and group
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Auth
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.8.0
Assignee: Simo Sorce
QA Contact: Chuan Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-09 05:41 UTC by Kiran
Modified: 2017-11-27 19:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-27 19:49:40 UTC


Attachments (Terms of Use)

Description Kiran 2017-11-09 05:41:14 UTC
Description of problem:
Adding the cluster role to group mulitple time for same role and group.
for example:- 
oadm policy add-cluster-role-to-group cluster-status group1
cluster role "cluster-status" added: "group1"

oadm policy add-cluster-role-to-group cluster-status group1
cluster role "cluster-status" added: "group1"

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.6.173.0.48-1.git.0.1609d30.el7.noarch

How reproducible:
Execution of command through CLI

Steps to Reproduce:
1.Login to openshift
2.oadm policy add-cluster-role-to-group cluster-status group1
3.

Actual results:
It is successfully adding same role to group.

Expected results:
It should verify that the role to particular group is added with same name.
If the role is added again to same group name , it must throw error to user.

Additional info:

Comment 1 Juan Vallejo 2017-11-09 19:24:42 UTC
Origin PR: https://github.com/openshift/origin/pull/17249

Comment 2 Juan Vallejo 2017-11-27 19:49:40 UTC
Closing PR (and this bug) as the move to RBAC in 3.7 made these commands obsolete. It would not make sense to introduce new features to them after they have been marked as deprecated.


Note You need to log in before you can comment on or make changes to this bug.