mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13: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()] )
|
||||
->who_have_right([\ACL::ORDER_MASTER])
|
||||
->execute()->get_results();
|
||||
->include_templates(true)
|
||||
->execute()
|
||||
->get_results();
|
||||
|
||||
/** @var ACLProvider $acl */
|
||||
$acl = $this->app['acl'];
|
||||
|
@@ -50,6 +50,7 @@ class CollectionController extends Controller
|
||||
$query = $this->createUserQuery();
|
||||
$admins = $query->on_base_ids([$bas_id])
|
||||
->who_have_right([\ACL::ORDER_MASTER])
|
||||
->include_templates(true)
|
||||
->execute()
|
||||
->get_results();
|
||||
}
|
||||
|
@@ -233,6 +233,7 @@ class UserController extends Controller
|
||||
->who_have_right($have_right)
|
||||
->who_have_not_right($have_not_right)
|
||||
->on_base_ids($on_base)
|
||||
->include_templates(true)
|
||||
->execute()
|
||||
->get_results();
|
||||
|
||||
|
Reference in New Issue
Block a user