mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,7 +41,7 @@ import org.alfresco.util.ParameterCheck;
|
||||
* @since 3.0
|
||||
*/
|
||||
public class SecurityClearanceServiceImpl extends ServiceBaseImpl implements SecurityClearanceService
|
||||
{
|
||||
{
|
||||
/** The clearance levels currently configured in this server. */
|
||||
private ClearanceLevelManager clearanceManager;
|
||||
/** The object containing the {@link ClassificationLevel}s in the system. */
|
||||
@@ -88,7 +88,7 @@ public class SecurityClearanceServiceImpl extends ServiceBaseImpl implements Sec
|
||||
*/
|
||||
private SecurityClearance getUserSecurityClearance(final String userName)
|
||||
{
|
||||
final NodeRef personNode = personService.getPerson(userName, false);
|
||||
final NodeRef personNode = personService.getPerson(userName, true);
|
||||
final PersonInfo personInfo = personService.getPerson(personNode);
|
||||
|
||||
ClearanceLevel clearanceLevel = ClearanceLevelManager.NO_CLEARANCE;
|
||||
|
@@ -68,7 +68,7 @@ public class PostMethodInvocationProcessorRegistry
|
||||
|
||||
BasePostMethodInvocationProcessor result = null;
|
||||
|
||||
for (Map.Entry<Class<?>, BasePostMethodInvocationProcessor> processor : processors.entrySet())
|
||||
for (Map.Entry<Class<?>, BasePostMethodInvocationProcessor> processor : getProcessors().entrySet())
|
||||
{
|
||||
if (processor.getKey().isAssignableFrom(clazz))
|
||||
{
|
||||
|
Reference in New Issue
Block a user