mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:51:06 +03:30
30 lines
528 B
PHP
30 lines
528 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
use App\User;
|
|
use App\TestType;
|
|
use Doctrine\Tests\Common\Inflector\InflectorTest;
|
|
|
|
class TestTypePolicy
|
|
{
|
|
|
|
public function delete(User $User, TestType $TestType)
|
|
{
|
|
// if($User->hasRole('Admin'))
|
|
return true;
|
|
}
|
|
|
|
public function update(User $User, TestType $TestType)
|
|
{
|
|
// if($User->hasRole('Admin'))
|
|
return true;
|
|
}
|
|
|
|
public function store(User $User)
|
|
{
|
|
// if($User->hasRole('Admin'))
|
|
return true;
|
|
}
|
|
}
|