Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 910322 - Cannot add security role to security-setting using CLI
Cannot add security role to security-setting using CLI
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Security (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity medium
: ER2
: EAP 6.1.0
Assigned To: Jeff Mesnil
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-12 05:25 EST by Miroslav Novak
Modified: 2014-05-26 21:29 EDT (History)
2 users (show)

See Also:
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`.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker AS7-6515 Major Resolved Cannot add security role to security-setting using CLI 2014-02-03 23:41:43 EST

  None (edit)
Description Miroslav Novak 2013-02-12 05:25:57 EST
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 03:27:56 EST
Jeff Mesnil <jmesnil@redhat.com> made a comment on jira AS7-6515

PR for master branch
Comment 3 Brian Stansberry 2013-03-06 13:24:46 EST
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 07:19:15 EDT
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 08:33:01 EDT
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.