mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Added permissions for the new functions.
This commit is contained in:
parent
d2bae3a4f2
commit
da14ee942d
14 changed files with 213 additions and 64 deletions
|
@ -166,6 +166,12 @@ class User extends NamedDBElement implements UserInterface, HasPermissionsInterf
|
|||
*/
|
||||
protected $group;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
* @ORM\Column(type="json")
|
||||
*/
|
||||
protected $settings = [];
|
||||
|
||||
/** @var PermissionsEmbed
|
||||
* @ORM\Embedded(class="PermissionsEmbed", columnPrefix="perms_")
|
||||
* @ValidPermission()
|
||||
|
@ -173,7 +179,8 @@ class User extends NamedDBElement implements UserInterface, HasPermissionsInterf
|
|||
protected $permissions;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", name="config_currency")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\PriceInformations\Currency", fetch="EAGER")
|
||||
* @ORM\JoinColumn(name="currency_id", referencedColumnName="id")
|
||||
*/
|
||||
protected $currency = "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue