Bug 910322 - Cannot add security role to security-setting using CLI
Summary: Cannot add security role to security-setting using CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Security
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER2
: EAP 6.1.0
Assignee: Jeff Mesnil
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-12 10:25 UTC by Miroslav Novak
Modified: 2014-05-27 01:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When adding a `security-role` using the CLI or API, it was required that the user specify both the roles that it should have, and all the roles that it should not. This was because the `:add` operation for this resource did not have default values for these parameters. These parameters now default to `false`. Adding a role now only requires that you specify the roles that the security-role must have by setting them to `true`. All other roles default to `false`.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-6515 0 Major Resolved Cannot add security role to security-setting using CLI 2014-02-04 04:41:43 UTC

Description Miroslav Novak 2013-02-12 10:25:57 UTC
Not possible to add security role to security-setting using CLI:
[standalone@localhost:9999 hornetq-server=default] ./security-setting=#/role=franta:add()
{
    "outcome" => "failed",
    "failure-description" => "JBAS014746: send may not be null",
    "rolled-back" => true
}

Comment 1 JBoss JIRA Server 2013-02-13 08:27:56 UTC
Jeff Mesnil <jmesnil> made a comment on jira AS7-6515

PR for master branch

Comment 3 Brian Stansberry 2013-03-06 18:24:46 UTC
PR for EAP:

https://github.com/jbossas/jboss-eap/pull/3

This was merged twelve days ago, so moving to ON_QA.

Comment 5 Miroslav Novak 2013-03-19 11:19:15 UTC
This did not get to any EAP 6.1.0.ERx release yet. Setting status Modified. This blocks testing automation.

Comment 6 Miroslav Novak 2013-03-19 12:33:01 UTC
Taking back. I hit another issue in my tests. Setting as verified.


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