You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2015/10/31 00:32:37 UTC

[03/50] [abbrv] usergrid git commit: Change new endpoint to only require org access.

Change new endpoint to only require org access.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/1b83a864
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/1b83a864
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/1b83a864

Branch: refs/heads/master
Commit: 1b83a864f97e0361266ebbe21e17c3a146bf46b4
Parents: c9bf87c
Author: Michael Russo <mi...@gmail.com>
Authored: Thu Oct 22 10:50:35 2015 -0700
Committer: Michael Russo <mi...@gmail.com>
Committed: Thu Oct 22 10:50:35 2015 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/rest/applications/ApplicationResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/1b83a864/stack/rest/src/main/java/org/apache/usergrid/rest/applications/ApplicationResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/applications/ApplicationResource.java b/stack/rest/src/main/java/org/apache/usergrid/rest/applications/ApplicationResource.java
index 4eaf09a..162565f 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/applications/ApplicationResource.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/applications/ApplicationResource.java
@@ -606,7 +606,7 @@ public class ApplicationResource extends ServiceResource {
 
     // Specifically require superuser access as this is setting app properties directly (only way to currently do this
     // with Apigee's apigeeMobileConfig
-    @RequireSystemAccess
+    @RequireOrganizationAccess
     @POST
     @Path("apm/apigeeMobileConfig")
     @Consumes(APPLICATION_JSON)