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";
|
||||
|
||||
|
@@ -17,7 +17,6 @@
|
||||
package org.alfresco.service.cmr.view;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.alfresco.service.cmr.repository.ContentData;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
@@ -163,6 +162,14 @@ public interface Exporter
|
||||
*/
|
||||
public void endProperties(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Export start of value collection
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
* @param property the property name
|
||||
*/
|
||||
public void startValueCollection(NodeRef nodeRef, QName property);
|
||||
|
||||
/**
|
||||
* Export single valued property
|
||||
*
|
||||
@@ -173,16 +180,15 @@ public interface Exporter
|
||||
public void value(NodeRef nodeRef, QName property, Object value);
|
||||
|
||||
/**
|
||||
* Export multi valued property
|
||||
* Export end of value collection
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
* @param property the property name
|
||||
* @param value the value
|
||||
*/
|
||||
public void value(NodeRef nodeRef, QName property, Collection values);
|
||||
public void endValueCollection(NodeRef nodeRef, QName property);
|
||||
|
||||
/**
|
||||
* Export content stream
|
||||
* Export content stream property
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
* @param property the property name
|
||||
|
Reference in New Issue
Block a user