You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fl...@apache.org on 2014/04/28 17:23:49 UTC
svn commit: r1590672 -
/stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java
Author: florent
Date: Mon Apr 28 15:23:49 2014
New Revision: 1590672
URL: http://svn.apache.org/r1590672
Log:
#1332 refresh the policy after altering the role
Modified:
stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java
Modified: stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java?rev=1590672&r1=1590671&r2=1590672&view=diff
==============================================================================
--- stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java (original)
+++ stanbol/trunk/commons/security/usermanagement/src/main/java/org/apache/stanbol/commons/usermanagement/resource/UserResource.java Mon Apr 28 15:23:49 2014
@@ -796,6 +796,9 @@ public class UserResource {
}
}
+ //refresh the policy so it will recheck the permissions
+ Policy.getPolicy().refresh();
+
// showSystem();
URI pageUri = uriInfo.getBaseUriBuilder()