Red Hat Bugzilla – Bug 990825
User in java:global/zanata/security/admin-users in standalone.xml should become admin after first sign in
Last modified: 2013-11-26 22:34:51 EST
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)
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.
adm does not have admin role.
adm has admin role.
This was a bug introduced with the JNDI configuration, which was preventing the admin users' config value from being read.
VERIFIED with Zanata version 3.0.0-alpha-2-SNAPSHOT (20130812-0932)
Closing VERIFIED bugs for Zanata versions <= 3.1.