GitHub user mdunker opened a pull request:
https://github.com/apache/usergrid/pull/380
USERGRID-645: fix superuser access via token
1. Superuser access via token now works. Some code was checking for
hardcoded string "sysadmin" -- superuser role is now "service-admin".
2. Superuser token should now be granted access to all orgs and apps.
3. Locked down org config GET/PUT to superusers only.
Basic auth superuser still does not have access to orgs/apps. Org config
GET/PUT requires both org access to specified org and superuser access, so
token must be used for org config.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdunker/usergrid USERGRID-645
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/380.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #380
----
commit ac1db7e33326076df13ca77610416e4d1dcc06aa
Author: Mike Dunker <[email protected]>
Date: 2015-09-10T21:35:30Z
USERGRID-645: fix superuser access via token
1. Superuser access via token now works. Some code was checking for
hardcoded string "sysadmin" -- superuser role is now "service-admin".
2. Superuser token should now be granted access to all orgs and apps.
3. Locked down org config GET/PUT to superusers only.
Basic auth superuser still does not have access to orgs/apps. Org config
GET/PUT requires both org access to specified org and superuser access, so
token must be used for org config.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---