Finds out if the user has the specified rights to the messages forum.
public hasPermission ( integer $perm = Horde_Perms::READ, integer $forum_id = null, string $scope = null ) : boolean | ||
$perm | integer | The permission level needed for access. |
$forum_id | integer | Forum to check permissions for. |
$scope | string | Application scope to use. |
Résultat | boolean | True if the user has the specified permissions. |