권한
권한(permission)
권한 검사 유형
등록
$grant = new Grant();
$grant->set('show', Rating::MEMBER);
$grant->set('create', Grant::GROUP_TYPE, ['{groupId}']);
$grant->set('create', Grant::EXCEPT_TYPE, ['{userId}']);
app('xe.permission')->register('foo.bar', $grant);폼
권한 등록을 위한 편의제공
권한검사
Last updated
Was this helpful?