PHP 인터페이스 CakeDC\Users\Auth\Rules\Rule

파일 보기 프로젝트 열기: CakeDC/users

공개 메소드들

메소드 설명
allowed ( array $user, string $role, Cake\Network\Request $request ) : boolean Check the current entity is owned by the logged in user

메소드 상세

allowed() 공개 메소드

Check the current entity is owned by the logged in user
public allowed ( array $user, string $role, Cake\Network\Request $request ) : boolean
$user array Auth array with the logged in data
$role string role of the user
$request Cake\Network\Request current request, used to get a default table if not provided
리턴 boolean