mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
port add model in order manager of collection
This commit is contained in:
@@ -319,7 +319,9 @@ class CollectionService
|
|||||||
|
|
||||||
$result = $userQuery->on_base_ids([ $reference->getBaseId()] )
|
$result = $userQuery->on_base_ids([ $reference->getBaseId()] )
|
||||||
->who_have_right([\ACL::ORDER_MASTER])
|
->who_have_right([\ACL::ORDER_MASTER])
|
||||||
->execute()->get_results();
|
->include_templates(true)
|
||||||
|
->execute()
|
||||||
|
->get_results();
|
||||||
|
|
||||||
/** @var ACLProvider $acl */
|
/** @var ACLProvider $acl */
|
||||||
$acl = $this->app['acl'];
|
$acl = $this->app['acl'];
|
||||||
|
@@ -50,6 +50,7 @@ class CollectionController extends Controller
|
|||||||
$query = $this->createUserQuery();
|
$query = $this->createUserQuery();
|
||||||
$admins = $query->on_base_ids([$bas_id])
|
$admins = $query->on_base_ids([$bas_id])
|
||||||
->who_have_right([\ACL::ORDER_MASTER])
|
->who_have_right([\ACL::ORDER_MASTER])
|
||||||
|
->include_templates(true)
|
||||||
->execute()
|
->execute()
|
||||||
->get_results();
|
->get_results();
|
||||||
}
|
}
|
||||||
|
@@ -233,6 +233,7 @@ class UserController extends Controller
|
|||||||
->who_have_right($have_right)
|
->who_have_right($have_right)
|
||||||
->who_have_not_right($have_not_right)
|
->who_have_not_right($have_not_right)
|
||||||
->on_base_ids($on_base)
|
->on_base_ids($on_base)
|
||||||
|
->include_templates(true)
|
||||||
->execute()
|
->execute()
|
||||||
->get_results();
|
->get_results();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user