EnglishFrenchSpanish

OnWorks favicon

acl.php - Online in the Cloud

Run acl.php in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command acl.php that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


acl.php - manages Access Control Lists (ACLs) for CakePHP applications

SYNOPSIS


acl.php <command> <arg1> <arg2> ...

DESCRIPTION


The acl.php script manages Access Control Lists (ACLs) for CakePHP applications.

OPTIONS


create aro|aco <link_id> <parent_id> <alias>
Creates a new ACL object under the parent specified by <parent_id>, an id/alias
(see 'view'). The link_id allows you to link a user object to Cake's ACL
structures. The alias parameter allows you to address your object using a non-
integer ID.

Example: "acl.php create aro 57 0 John" would create a new ARO object at the root
of the tree, linked to 57 in your users table, with an internal alias `John'.

delete aro|aco <id>
Deletes the ACL object with the specified ID (see `view').

setParent aro|aco <id> <parent_id>
Used to set the parent of the ACL object specified by <id> to the ID specified by
<parent_id>.

getPath aro|aco <id>
Returns the path to the ACL object specified by <id>. This command is is useful in
determining the inhertiance of permissions for a certain object in the tree.

grant <aro_id> <aco_id> <aco_action>
Use this command to grant ACL permissions. Once executed, the ARO specified (and
its children, if any) will have ALLOW access to the specified ACO action (and the
ACO's children, if any).

deny <aro_id> <aco_id> <aco_action>
Use this command to deny ACL permissions. Once executed, the ARO specified (and its
children, if any) will have DENY access to the specified ACO action (and the ACO's
children, if any).

inherit <aro_id> <aco_id> <aco_action>
Use this command to force a child ARO object to inherit its permissions settings
from its parent.

view aro|aco [id]
The view command will return the ARO or ACO tree. The optional id/alias parameter
allows you to return only a portion of the requested tree.

initdb Use this command to create the database tables needed to use DB ACL.

-app Absolute path to Cake's app directory

-core Absolute path to Cake's cake directory

-root Absolute path to Cake's /app/webroot directory

-datasource
CakePHP datasource name

help Displays help message.

Use acl.php online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 2
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 3
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 4
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 5
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 6
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • More »

Linux commands

Ad