summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordzhgenti2014-04-18 20:58:09 (GMT)
committerothermachines2014-04-18 20:58:09 (GMT)
commitab5c5542ce8a5f32a3f89bd360c477ff3fa5c8ec (patch)
tree56b54c78c49b281ff1abaf97998773d54f7c3c3a
parentedf0659f09ed9a5c06ed5b2a46a401526a21b9f5 (diff)
Issue #1414072 by zhgenti: Fixed subqueue access permission.
-rwxr-xr-xsmartqueue_domain.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/smartqueue_domain.module b/smartqueue_domain.module
index 931f70a..7176f54 100755
--- a/smartqueue_domain.module
+++ b/smartqueue_domain.module
@@ -126,8 +126,7 @@ function smartqueue_domain_subqueue_access($subqueue, $account, $queue){
unset($user_domains[-1]);
}
if ((in_array($subqueue_info[3], $user_domains) && user_access('edit domain content'))
- || user_access('administer nodequeue')
- || user_access('manipulate queues')
+ || user_access('administer nodequeue')
|| user_access('manipulate all queues')
|| user_access('administer modules'))
return true;