You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by mdunker <gi...@git.apache.org> on 2015/09/10 23:41:40 UTC

[GitHub] usergrid pull request: USERGRID-645: fix superuser access via toke...

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 <md...@apache.org>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] usergrid pull request: USERGRID-645: fix superuser access via toke...

Posted by michaelarusso <gi...@git.apache.org>.
Github user michaelarusso commented on the pull request:

    https://github.com/apache/usergrid/pull/380#issuecomment-139389106
  
    :+1: 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] usergrid pull request: USERGRID-645: fix superuser access via toke...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/usergrid/pull/380


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---