mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-324: User with Edit Selection Lists capability can't access "List of Values" tool from Management Console
* Added 'ListAdmin' unassignable capability * Fixed up introduced issue with console permissions (last minute change to JS caused all capability checks to fail on management console .. for some reason I didn't recycle and spot untill today!) * Can not undeclare a cutoff record (another small issue spotted today) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,9 @@ public class CompositeCapability extends DeclarativeCapability
|
||||
this.capabilities = capabilities;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.module.org_alfresco_module_rm.capability.declarative.DeclarativeCapability#evaluateImpl(org.alfresco.service.cmr.repository.NodeRef)
|
||||
*/
|
||||
@Override
|
||||
public int evaluateImpl(NodeRef nodeRef)
|
||||
{
|
||||
@@ -66,6 +69,11 @@ public class CompositeCapability extends DeclarativeCapability
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* If a target capability is specified then we evaluate that. Otherwise we combine the results of the provided capabilities.
|
||||
*
|
||||
* @see org.alfresco.module.org_alfresco_module_rm.capability.declarative.DeclarativeCapability#evaluate(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef)
|
||||
*/
|
||||
@Override
|
||||
public int evaluate(NodeRef source, NodeRef target)
|
||||
{
|
||||
|
@@ -28,7 +28,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
/**
|
||||
* Update properties capability
|
||||
* Update properties capability.
|
||||
*
|
||||
* @author andyh
|
||||
*/
|
||||
|
Reference in New Issue
Block a user