Procedural File: class.atksecuritymanager.inc
Source Location: /security/class.atksecuritymanager.inc
Page Details
This file is part of the Achievo ATK distribution.
Detailed copyright and licensing information can be found in the doc/COPYRIGHT and doc/LICENSE files which should be included in the distribution.
| Version: | $Revision: 6301 $ $Id: class.atksecuritymanager.inc 7106 2011-03-03 11:09:25Z patrick $ |
| Copyright: | (c)2000-2004 Ivo Jansch |
| Copyright: | (c)2000-2004 Ibuildings.nl BV |
| License: | ATK Open Source License |
Constants
AUTH_MISSINGUSERNAME [line 30]
AUTH_PASSWORDSENT [line 29]
AUTH_UNVERIFIED [line 25]
API Tags:
| Internal: | includes and definitions |
Functions
is_allowed [line 844]
boolean is_allowed(
String $node, String $privilege
)
|
|
Check if the currently logged-in user has a certain privilege.
Parameters:
|
String |
$node: |
The full name of the node for which to check access. |
|
String |
$privilege: |
The privilege to check. |
API Tags:
| Return: | True if access is granted, false if not. |
| Deprecated: | Use the allowed method of the security manager instead. |