mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Save permissions as JSON in user/group entities.
This commit is contained in:
parent
33f8d2ba9e
commit
687ee80255
9 changed files with 316 additions and 40 deletions
|
@ -42,9 +42,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Security\Interfaces;
|
||||
|
||||
use App\Entity\UserSystem\PermissionsEmbed;
|
||||
use App\Entity\UserSystem\PermissionData;
|
||||
|
||||
interface HasPermissionsInterface
|
||||
{
|
||||
public function getPermissions(): PermissionsEmbed;
|
||||
public function getPermissions(): PermissionData;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue