Method | Description | |
---|---|---|
checkPermission ( mixed $subject, string $permission ) : boolean | Checks a Sulu specific permission based on the subject, a permission type and a locale. | |
hasPermission ( $subject, $permission ) : boolean |
public hasPermission ( $subject, $permission ) : boolean | ||
$subject | ||
$permission | ||
return | boolean |