Class rex_perm

Class for permissions.

Abstract
Package: redaxo\core\login
Author: gharlan
Located at redaxo/src/core/lib/login/perm.php

Methods summary

public static
# register( string $perm, string $name = null, string $group = rex_perm::GENERAL )

Registers a new permission.

public static boolean
# has( string $perm )

Returns whether the permission is registered.

public static array
# getAll( string $group = rex_perm::GENERAL )

Returns all permissions for the given group.

Constants summary

string GENERAL
#'general'
string OPTIONS
#'options'
string EXTRAS
#'extras'