Commit ab5c5542 authored by zhgenti's avatar zhgenti Committed by othermachines

Issue #1414072 by zhgenti: Fixed subqueue access permission.

parent edf0659f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment