function get_permission_conditions()
{
return array(
'dashboard' => array(
'View' => true,
'ViewOwn' => true,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'users' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true,
),
'user_plans' => array(
'View' => false,
'ViewOwn' => false,
'Edit' => false,
'Create' => true,
'Delete' => true,
),
'roles' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'user_groups' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => false,
'Create' => false,
'Delete' => false
),
'ip_blocking' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => false,
'Delete' => false
),
'currencies' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'email_templates' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'custom_fields' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'logs' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
),
'settings' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => false,
'Delete' => false
),
'staff' => array(
'View' => true,
'ViewOwn' => false,
'Edit' => true,
'Create' => true,
'Delete' => true
)
);
}