mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
fix right access and right on story elements per user
This commit is contained in:
@@ -583,8 +583,8 @@ class Edit extends \Alchemy\Phrasea\Helper\Helper
|
||||
$user = $this->app['repo.users']->find($usr_id);
|
||||
|
||||
$this->app->getAclForUser($user)->revoke_access_from_bases($delete)
|
||||
->give_access_to_base($create)
|
||||
->give_access_to_sbas($create_sbas);
|
||||
->give_access_to_sbas($create_sbas) // give access to sbas before bas
|
||||
->give_access_to_base($create);
|
||||
|
||||
foreach ($update as $base_id => $rights) {
|
||||
$this->app->getAclForUser($user)
|
||||
|
Reference in New Issue
Block a user