directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-enmasse git commit: rolesAllowed changed
Date Sat, 01 Sep 2018 20:09:54 GMT
Repository: directory-fortress-enmasse
Updated Branches:
  refs/heads/master 86cdf8511 -> f01d5650c


rolesAllowed changed


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/commit/f01d5650
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/tree/f01d5650
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/diff/f01d5650

Branch: refs/heads/master
Commit: f01d5650c740e72757e74a4dbe98e158ea976b00
Parents: 86cdf85
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sat Sep 1 14:55:44 2018 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sat Sep 1 14:55:44 2018 -0500

----------------------------------------------------------------------
 .../org/apache/directory/fortress/rest/FortressServiceImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/f01d5650/src/main/java/org/apache/directory/fortress/rest/FortressServiceImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/rest/FortressServiceImpl.java b/src/main/java/org/apache/directory/fortress/rest/FortressServiceImpl.java
index 0f802d9..5de9e90 100644
--- a/src/main/java/org/apache/directory/fortress/rest/FortressServiceImpl.java
+++ b/src/main/java/org/apache/directory/fortress/rest/FortressServiceImpl.java
@@ -682,7 +682,7 @@ public class FortressServiceImpl implements FortressService
      */
     @POST
     @Path("/" + HttpIds.ROLE_ENABLE_CONSTRAINT + "/")
-    @RolesAllowed({SUPER_USER, REVIEW_MGR_USER})
+    @RolesAllowed({SUPER_USER, ADMIN_MGR_USER})
     @Override
     public FortResponse enableRoleConstraint( FortRequest request )
     {
@@ -695,7 +695,7 @@ public class FortressServiceImpl implements FortressService
      */
     @POST
     @Path("/" + HttpIds.ROLE_DISABLE_CONSTRAINT + "/")
-    @RolesAllowed({SUPER_USER, REVIEW_MGR_USER})
+    @RolesAllowed({SUPER_USER, ADMIN_MGR_USER})
     @Override
     public FortResponse disableRoleConstraint( FortRequest request )
     {


Mime
View raw message