Bug 806110 - RFE: Add more examples of creating and managing users and roles through CLI scripts
Summary: RFE: Add more examples of creating and managing users and roles through CLI s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Documentation
Version: JON 3.0.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Deon Ballard
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-22 22:17 UTC by Deon Ballard
Modified: 2014-10-23 12:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:42:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
automated CLI test for roles (669 bytes, application/javascript)
2012-03-27 17:24 UTC, Mike Foley
no flags Details
automated CLI test for subjects (1.77 KB, application/javascript)
2012-03-27 17:25 UTC, Mike Foley
no flags Details
automated CLI test for adding and deleting users (2.14 KB, application/javascript)
2012-03-27 17:25 UTC, Mike Foley
no flags Details

Description Deon Ballard 2012-03-22 22:17:46 UTC
$SUBJECT for now, details to follow.

Comment 1 Mike Foley 2012-03-23 11:31:15 UTC
1) flagging this BZ for automation by QE by adding NeedsTestCase keyword

2) creating QE ticket under CLI Automation milestone
https://engineering.redhat.com/trac/jon/ticket/77

3) Initial set of proposed tests (by Sunny)

Creating a user and automatically assigning them to a specific role
Creating a role, assigning resource groups, and setting permissions on it
Checking the roles for a specific user
Changing user passwords
Checking current JON sessions

4)  Team:  please add and document additional testcases that you can think of in this area

Comment 2 Mike Foley 2012-03-26 15:57:38 UTC
medium, no target release 

per bz triage (crouch, mfoley, asantos, loleary)

Comment 3 Mike Foley 2012-03-27 11:16:20 UTC
initial set of CLI automation for roles and subjects completed.

https://engineering.redhat.com/trac/jon/ticket/77#comment:7

removing "NeedsTestCase" keyword

Comment 4 Mike Foley 2012-03-27 17:24:17 UTC
adding 1 more automated CLI test and attaching to this BZ (for reference ... in case it can be leveraged in the documentation)

Comment 5 Mike Foley 2012-03-27 17:24:56 UTC
Created attachment 573137 [details]
automated CLI test for roles

Comment 6 Mike Foley 2012-03-27 17:25:23 UTC
Created attachment 573138 [details]
automated CLI test for subjects

Comment 7 Mike Foley 2012-03-27 17:25:53 UTC
Created attachment 573139 [details]
automated CLI test for adding and deleting users

Comment 8 Deon Ballard 2012-06-26 01:34:33 UTC
Added user and role examples here:
http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/3.1/html/Dev_Writing_JON_Command-Line_Scripts/admin.html

This has creating a role, creating a user, and adding a user to a role. I took that from Mike (thanks, Mike!). I couldn't find out how to do password changes or how to manage sessions, so I'm going to ignore that for now and revisit it later.


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