mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6645: Added unit test for getRmActionDefinitions webscript when whitelisted actions are present
This commit is contained in:
@@ -82,8 +82,10 @@ public class RmActionDefinitionsGet extends DeclarativeWebScript
|
||||
}
|
||||
}
|
||||
// If there are any DM whitelisted actions for RM add them in the rule actions
|
||||
for (ActionDefinition actionDefinition: actions) {
|
||||
if (whitelistedActions.contains(actionDefinition.getName())){
|
||||
for (ActionDefinition actionDefinition : actions)
|
||||
{
|
||||
if (whitelistedActions.contains(actionDefinition.getName()))
|
||||
{
|
||||
defs.add(actionDefinition);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user