Fix to new duplicate method name in PermissionService (getAllSetPermissions) that was causing various client actions to break with permission denied errors.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-20 10:41:52 +00:00
parent 56af2175d5
commit 7ca65b01ab
5 changed files with 97 additions and 97 deletions

View File

@@ -294,7 +294,7 @@ public interface PermissionService
* @return - A map of noderefs to permissions set
*/
@Auditable
public Map<NodeRef, Set<AccessPermission>> getAllSetPermissionsForTheCurrentUser();
public Map<NodeRef, Set<AccessPermission>> getAllSetPermissionsForCurrentUser();
/**
* Get all the permissions set for the given authority
@@ -303,7 +303,7 @@ public interface PermissionService
* @return - A map of noderefs to permissions set
*/
@Auditable(parameters = { "authority" })
public Map<NodeRef, Set<AccessPermission>> getAllSetPermissions(String authority);
public Map<NodeRef, Set<AccessPermission>> getAllSetPermissionsForAuthority(String authority);
/**
* Find all the nodes where the current user has explicitly been assigned the specified permission.
@@ -319,7 +319,7 @@ public interface PermissionService
* @return - the set of nodes where the user is assigned the permission
*/
@Auditable(parameters = { "permission", "allow", "includeContainingAuthorities", "includeContainingPermissions" })
public Set<NodeRef> findNodesByAssignedPermissionForTheCurrentUser(String permission, boolean allow, boolean includeContainingAuthorities,
public Set<NodeRef> findNodesByAssignedPermissionForCurrentUser(String permission, boolean allow, boolean includeContainingAuthorities,
boolean includeContainingPermissions);
/**