mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Use ACL service provider to get user's ACL
This commit is contained in:
@@ -241,7 +241,7 @@ class module_report_dashboard implements module_report_dashboard_componentInterf
|
||||
{
|
||||
$all_coll = array();
|
||||
|
||||
$base_ids = $this->usr->ACL()->get_granted_base(array('canreport'));
|
||||
$base_ids = $this->app['acl']->get($this->usr)->get_granted_base(array('canreport'));
|
||||
|
||||
foreach ($base_ids as $base_id => $collection) {
|
||||
$databox = $collection->get_databox();
|
||||
|
Reference in New Issue
Block a user