mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Added drafts
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\LawManagement;
|
||||
|
||||
use App\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
* Allows to check if a source has rights on a source.
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface LawPermissionCheckerServiceInterface
|
||||
{
|
||||
public function setRequestedSource(SourceInterface $requestedSource): void;
|
||||
|
||||
public function setClientSource(SourceInterface $clientSource): void;
|
||||
|
||||
public function checkPermission(): bool;
|
||||
|
||||
/**
|
||||
* Sets the permission type.
|
||||
*
|
||||
* @param string $type
|
||||
*/
|
||||
public function setType(string $type): void;
|
||||
}
|
Reference in New Issue
Block a user