-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
50 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
use Sonata\AdminBundle\Admin\AdminInterface; | ||
use Sonata\AdminBundle\Security\Handler\AclSecurityHandlerInterface; | ||
use Symfony\Component\Console\Output\OutputInterface; | ||
use Symfony\Component\Security\Acl\Model\AclInterface; | ||
use Symfony\Component\Security\Acl\Model\MutableAclInterface; | ||
|
||
/** | ||
* @author Thomas Rabaix <[email protected]> | ||
|
@@ -25,10 +25,8 @@ interface AdminAclManipulatorInterface | |
{ | ||
/** | ||
* Batch configure the ACLs for all objects handled by an Admin. | ||
* | ||
* @return void | ||
*/ | ||
public function configureAcls(OutputInterface $output, AdminInterface $admin); | ||
public function configureAcls(OutputInterface $output, AdminInterface $admin): void; | ||
|
||
/** | ||
* Add the class ACE's to the admin ACL. | ||
|
@@ -39,8 +37,8 @@ public function configureAcls(OutputInterface $output, AdminInterface $admin); | |
*/ | ||
public function addAdminClassAces( | ||
OutputInterface $output, | ||
AclInterface $acl, | ||
MutableAclInterface $acl, | ||
AclSecurityHandlerInterface $securityHandler, | ||
array $roleInformation = [] | ||
); | ||
): bool; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.