NotesTablePolicy
in package
NotesTable policy
Table of Contents
Methods
- canAdd() : bool
- Check if $user can add NotesTable
- canDelete() : bool
- Check if $user can delete NotesTable
- canEdit() : bool
- Check if $user can edit NotesTable
- canView() : bool
- Check if $user can view NotesTable
Methods
canAdd()
Check if $user can add NotesTable
public
canAdd(KmpIdentityInterface $user, BaseEntity $notesTable) : bool
Parameters
- $user : KmpIdentityInterface
-
The user.
- $notesTable : BaseEntity
Return values
boolcanDelete()
Check if $user can delete NotesTable
public
canDelete(KmpIdentityInterface $user, BaseEntity $notesTable) : bool
Parameters
- $user : KmpIdentityInterface
-
The user.
- $notesTable : BaseEntity
Return values
boolcanEdit()
Check if $user can edit NotesTable
public
canEdit(KmpIdentityInterface $user, BaseEntity $notesTable) : bool
Parameters
- $user : KmpIdentityInterface
-
The user.
- $notesTable : BaseEntity
Return values
boolcanView()
Check if $user can view NotesTable
public
canView(KmpIdentityInterface $user, BaseEntity $notesTable) : bool
Parameters
- $user : KmpIdentityInterface
-
The user.
- $notesTable : BaseEntity