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:
Roy Wetherall
2012-05-29 07:34:03 +00:00
parent 35bbdb09b0
commit b8b25ddc5f
5 changed files with 48 additions and 15 deletions

View File

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

View File

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