Bug 1020196 - RBAC: Changing scope type of the role leads to "Failed to save" error
Summary: RBAC: Changing scope type of the role leads to "Failed to save" error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Console
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER7
: EAP 6.2.0
Assignee: Heiko Braun
QA Contact: Jakub Cechacek
Russell Dickenson
URL:
Whiteboard:
: 1020195 (view as bug list)
Depends On:
Blocks: 1021418
TreeView+ depends on / blocked
 
Reported: 2013-10-17 09:10 UTC by Jakub Cechacek
Modified: 2015-02-01 23:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:14:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HAL-284 0 Major Resolved Changing scope type of the role leads to "Failed to save" error 2013-11-21 23:48:14 UTC

Description Jakub Cechacek 2013-10-17 09:10:56 UTC
Attempting to change scope type of existing scoped role leads to error on save. 

Steps to Reproduce:
1. navigate to Administration - Role Assignment - Roles - Scoped Roles
2. create role of group scoped role restricted to main-server-group
3. select the role created in previous step in the list and click "edit" button
4. change type to "Host" and select the scope (e.g. master host)
5. save 

Actual results:
"Failed to save error message"

Expected results:
As both "Host" and "Server group" scoped roles are a different type of resource, it should not be possible to modify the scope type of existing roles.

Proposed fix:
Remove the option to change scope type

Comment 1 JBoss JIRA Server 2013-10-18 12:56:54 UTC
Harald Pehl <hpehl> updated the status of jira HAL-284 to Coding In Progress

Comment 2 JBoss JIRA Server 2013-10-18 13:00:00 UTC
Harald Pehl <hpehl> updated the status of jira HAL-284 to Resolved

Comment 3 JBoss JIRA Server 2013-10-18 13:00:00 UTC
Harald Pehl <hpehl> made a comment on jira HAL-284

Type is read-only in edit mode

Comment 4 Harald Pehl 2013-10-21 09:23:58 UTC
*** Bug 1020195 has been marked as a duplicate of this bug. ***

Comment 5 Jakub Cechacek 2013-10-31 10:28:23 UTC
Verified 6.2.0.,ER7


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