mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AW-542 Guest user can not see any Categories
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2456 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -110,7 +110,7 @@ public enum AuthorityType
|
||||
|
||||
public String getFixedString()
|
||||
{
|
||||
return PermissionService.GUEST;
|
||||
return PermissionService.GUEST_AUTHORITY;
|
||||
}
|
||||
|
||||
public boolean isPrefixed()
|
||||
@@ -219,7 +219,7 @@ public enum AuthorityType
|
||||
{
|
||||
authorityType = AuthorityType.OWNER;
|
||||
}
|
||||
else if (authority.equalsIgnoreCase(PermissionService.GUEST))
|
||||
else if (authority.equalsIgnoreCase(PermissionService.GUEST_AUTHORITY))
|
||||
{
|
||||
authorityType = AuthorityType.GUEST;
|
||||
}
|
||||
|
@@ -44,6 +44,7 @@ public interface PermissionService
|
||||
|
||||
public static final String ADMINISTRATOR_AUTHORITY = "ROLE_ADMINISTRATOR";
|
||||
|
||||
public static final String GUEST_AUTHORITY = "guest";
|
||||
|
||||
|
||||
|
||||
@@ -101,7 +102,7 @@ public interface PermissionService
|
||||
|
||||
public static final String EDITOR = "Editor";
|
||||
|
||||
public static final String GUEST = "Guest";
|
||||
public static final String CONSUMER = "Consumer";
|
||||
|
||||
public static final String LOCK = "Lock";
|
||||
|
||||
|
Reference in New Issue
Block a user