The fastest easiest way to get it right.

Module Security

A group can be given permissions at the module level that override the group's default permissions. There are two allowed methods for doing this.

Method 1: Assignments in Module Definition

In this method we define the group first and make the assignments in the module definition.

# Create a group that cannot do anything
# by default
group minimal:
    description: Minimal Permissions
    permsel: N
    permins: N
    permupd: N
    permdel: N

# Now define the inventory module and 
# give the group limited permissions 
# within this module
module inventory:
    description: Inventory Tables
    uisort: 300
    
    group minimal:
        permsel: Y
        permins: N
        permupd: N
        permdel: N

Method 2: Assignments in Group Definition

It is also allowed to assign permissions for a group inside the group's definition.

# Define the inventory module
module inventory:
    description: Inventory Tables
    uisort: 300

# Now define a group with minimal default permissions,
# and override those permissions for the inventory
# module
group minimal:
    description: Minimal Permissions
    permsel: N
    permins: N
    permupd: N
    permdel: N

    module inventory:
        permsel: Y
        permins: N
        permupd: N
        permdel: N

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