mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 12:24:33 +02:00
Renamed PermissionResolver service to PermissionService
This commit is contained in:
parent
131e9a2850
commit
b0c027f805
17 changed files with 50 additions and 53 deletions
|
@ -42,7 +42,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Form\Permissions;
|
||||
|
||||
use App\Services\PermissionResolver;
|
||||
use App\Services\UserSystem\PermissionManager;
|
||||
use RuntimeException;
|
||||
use Symfony\Component\Form\DataMapperInterface;
|
||||
use Symfony\Component\Form\FormInterface;
|
||||
|
@ -54,10 +54,10 @@ use Traversable;
|
|||
*/
|
||||
final class PermissionsMapper implements DataMapperInterface
|
||||
{
|
||||
private PermissionResolver $resolver;
|
||||
private PermissionManager $resolver;
|
||||
private bool $inherit;
|
||||
|
||||
public function __construct(PermissionResolver $resolver, bool $inherit = false)
|
||||
public function __construct(PermissionManager $resolver, bool $inherit = false)
|
||||
{
|
||||
$this->inherit = $inherit;
|
||||
$this->resolver = $resolver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue