mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
PHRAS-359 Allow to apply model to a model
This commit is contained in:
@@ -657,10 +657,6 @@ class Edit extends \Alchemy\Phrasea\Helper\Helper
|
||||
foreach ($this->users as $usr_id) {
|
||||
$user = \User_adapter::getInstance($usr_id, $this->app);
|
||||
|
||||
if ($user->is_template()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$user->ACL()->apply_model($template, $base_ids);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user