lib/permissions/PermissionDefinitionProcessor.js
function isActionsExistsInPermissionActions(allActions, schemaActions) {
    return utils.contains(allActions.sort().join(), schemaActions.sort().join());
}
function isActionsExistsInPermissionActions(allActions, schemaActions) {
    return utils.contains(allActions.sort().join(), schemaActions.sort().join());
}
function isActionsExistsInPermissionActions ( allActions , schemaActions ) { return utils . contains ( allActions . sort ( ) . join ( ) , schemaActions . sort ( ) . join ( ) ) ; }
Returns true if schemaActions exists in allActions
@param allActions {Array} all actions in defined in permission definition file
@param schemaActions {Array} actions allowed in particular schema entry in definition file
Returns true if schemaActions exists in allActions