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 <[email protected]> Authored: Thu Oct 22 10:50:35 2015 -0700 Committer: Michael Russo <[email protected]> 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)
