The fastest easiest way to get it right.

Groups

A database group is defined with a name, a description, and default system-wide permissions:

# A super-user group that can read-write anything by
# default, though these permissions can be overwritten
# for individual tables.
group supermen:
    description: sysem super-users
    permsel: Y
    permins: Y
    permupd: Y
    permdel: Y
    
# A group that can read anything:
group readitall:
    description: The Auditors
    permsel: Y
    permins: N
    permupd: N
    permdel: N

The groups defined above will have the permissions assigned to them as listed unless overwritten at the module level or at the table level.

Groups can be defined anywhere in your YAML file, though by convention we define them at the top with the modules. Groups are top-level entities, so their first indent is always zero.

The four permissions "permsel", "permins", "permupd" and "permdel" control the four fundamental database operations of SELECT, INSERT, UPDATE, and DELETE.

User Comments

There are no user comments yet on this page.


Add A Comment

Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

Name or nickname: (This will appear with your comment)


Email (this will never be displayed)


Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


Home |  Documentation |  Download |  Credits |  Contact |  Login
Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2