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:
David Caruana
2006-02-21 16:12:12 +00:00
parent 295d1cd0b6
commit cab7aa3b4e
28 changed files with 633 additions and 71 deletions

View File

@@ -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;
}

View File

@@ -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";

View File

@@ -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