Returns the specified permission for the current user.
public static hasPermission ( string $permission ) : mixed | ||
$permission | string | A permission, currently only 'max_notes'. |
return | mixed | The value of the specified permission. |
public static hasPermission ( string $permission ) : mixed | ||
$permission | string | A permission, currently only 'max_notes'. |
return | mixed | The value of the specified permission. |