AclShell Class Reference

Inheritance diagram for AclShell:

Shell Object

List of all members.


Public Member Functions

 check ()
 checkNodeType ()
 create ()
 delete ()
 deny ()
 getPath ()
 grant ()
 help ()
 inherit ()
 initdb ()
 main ()
 nodeExists ()
 setParent ()
 startup ()
 view ()

Public Attributes

 $Acl
 $args
 $dataSource = 'default'
 $tasks = array('DbConfig')

Detailed Description

Definition at line 37 of file acl.php.


Member Function Documentation

AclShell::check (  ) 

Check permission for a given ARO to a given ACO.

public

Definition at line 244 of file acl.php.

AclShell::checkNodeType (  ) 

Check that first argument specifies a valid Node type (ARO/ACO)

public

Definition at line 436 of file acl.php.

References aco, and aro.

Referenced by create(), and delete().

AclShell::create (  ) 

Creates an ARO/ACO node

public

Definition at line 132 of file acl.php.

References Shell::_checkArgs(), a(), checkNodeType(), Shell::err(), Shell::error(), Set::extract(), and Shell::out().

AclShell::delete (  ) 

Delete an ARO/ACO node.

public

Definition at line 189 of file acl.php.

References Shell::_checkArgs(), and checkNodeType().

AclShell::deny (  ) 

Deny access for an ARO to an ACO.

public

Definition at line 274 of file acl.php.

References deny.

AclShell::getPath (  ) 

Get path to specified ARO/ACO node.

public

Definition at line 226 of file acl.php.

References ife().

AclShell::grant (  ) 

Grant permission for a given ARO to a given ACO.

public

Definition at line 259 of file acl.php.

AclShell::help (  ) 

Show help screen.

public

Reimplemented from Shell.

Definition at line 359 of file acl.php.

References deny, and low().

Referenced by startup().

AclShell::inherit (  ) 

Set an ARO to inhermit permission to an ACO.

public

Definition at line 289 of file acl.php.

AclShell::initdb (  ) 

Initialize ACL database.

public

Definition at line 350 of file acl.php.

Referenced by startup().

AclShell::main (  ) 

Override main() for help message hook

public

Definition at line 111 of file acl.php.

References $out, and Shell::out().

AclShell::nodeExists (  ) 

Checks that given node exists

Parameters:
string $type Node type (ARO/ACO)
integer $id Node id
Returns:
boolean Success public

Definition at line 452 of file acl.php.

References ife().

AclShell::setParent (  ) 

Set parent for an ARO/ACO node.

public

Definition at line 204 of file acl.php.

AclShell::startup (  ) 

Override startup of the Shell

public

Reimplemented from Shell.

Definition at line 71 of file acl.php.

References $out, Object::_stop(), config(), Shell::err(), help(), initdb(), Shell::out(), params(), and Configure::read().

AclShell::view (  ) 

Show a specific ARO/ACO node.

public

Definition at line 304 of file acl.php.

References ife().


Member Data Documentation

AclShell::$Acl

Definition at line 44 of file acl.php.

AclShell::$args

Reimplemented from Shell.

Definition at line 51 of file acl.php.

AclShell::$dataSource = 'default'

Definition at line 58 of file acl.php.

AclShell::$tasks = array('DbConfig')

Reimplemented from Shell.

Definition at line 65 of file acl.php.


The documentation for this class was generated from the following file: