Bug 990825 - User in java:global/zanata/security/admin-users in standalone.xml should become admin after first sign in
Summary: User in java:global/zanata/security/admin-users in standalone.xml should beco...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.0
Assignee: Carlos Munoz
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-01 05:06 UTC by Ding-Yi Chen
Modified: 2013-11-27 03:34 UTC (History)
2 users (show)

Fixed In Version: 3.0.0-alpha-2-SNAPSHOT (20130812-0932)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:23:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Ding-Yi Chen 2013-08-01 05:06:42 UTC
Description of problem:

User in java:global/zanata/security/admin-users in standalone.xml does not become admin after first login.

Version-Release number of selected component (if applicable):
Zanata version 3.0.0-alpha-2-SNAPSHOT (20130730-0037)

How reproducible:
Always

Steps to Reproduce:
1. service jbossas stop
2. In standalone.xml, search "<subsystem xmlns="urn:jboss:domain:naming:1.3">"
   Add the user "adm" in to the value of java:global/zanata/security/admin-users.
   i.e. <simple name="java:global/zanata/security/admin-users" value="adm"/>
3. service jbossas start
4. Register user adm
5. Activate the user adm by enabling it from database:
   UPDATE HAccount SET enabled = true WHERE username = 'adm'
6. Sign in as adm.

Actual results:
adm does not have admin role.

Expected results:
adm has admin role.

Additional info:

Comment 2 Ding-Yi Chen 2013-08-12 01:13:13 UTC
VERIFIED with Zanata version 3.0.0-alpha-2-SNAPSHOT (20130812-0932)

Comment 3 Sean Flanigan 2013-11-27 03:12:59 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 4 Sean Flanigan 2013-11-27 03:15:05 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 5 Sean Flanigan 2013-11-27 03:17:56 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 6 Sean Flanigan 2013-11-27 03:23:01 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 7 Sean Flanigan 2013-11-27 03:32:35 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 8 Sean Flanigan 2013-11-27 03:34:51 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.


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