20 lines
445 B
PHP
20 lines
445 B
PHP
<?php
|
|
|
|
namespace FluentForm\App\Http\Policies;
|
|
|
|
use FluentForm\App\Modules\Acl\Acl;
|
|
use FluentForm\Framework\Foundation\Policy;
|
|
use FluentForm\Framework\Http\Request\Request;
|
|
|
|
class RoleManagerPolicy extends Policy
|
|
{
|
|
public function verifyRequest(Request $request)
|
|
{
|
|
return Acl::hasPermission('fluentform_full_access');
|
|
}
|
|
public function index()
|
|
{
|
|
return Acl::hasPermission('fluentform_full_access');
|
|
}
|
|
}
|