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