Added a possibility to restrict the access to certain entity columns.

This commit is contained in:
Jan Böhmer 2019-03-20 19:11:34 +01:00
parent f31336bb87
commit 47fe76b22e
8 changed files with 271 additions and 1 deletions

View file

@ -34,6 +34,8 @@ use Doctrine\ORM\Mapping as ORM;
* must have the table row "id"!! The ID is the unique key to identify the elements.
*
* @ORM\MappedSuperclass()
*
* @ORM\EntityListeners({"App\Security\EntityListeners\ElementPermissionListener"})
*/
abstract class DBElement
{