<?php
$homepage = "view-static-home";
$priv_guest = 0;
$priv_user = 1;
$priv_auth = 2;
$priv_mod = 3;
$priv_admin = 4;
$apps = array(
"static" => array(
"view" => $priv_guest,
),
// File upload application
"file" => array(
"index" => $priv_guest,
"delete" => $priv_user,
"editinfo" => $priv_user,
"upload" => $priv_user,
"folder" => $priv_guest,
"newfld" => $priv_user,
"editfld" => $priv_user,
"delfld" => $priv_user,
),
// Account application
"account" => array(
"new" => $priv_guest,
"list" => $priv_guest,
),
// Notebook application
"notes" => array(
"user" => $priv_guest,
"view" => $priv_guest,
"new" => $priv_user,
"edit" => $priv_user,
"delete" => $priv_user,
"move" => $priv_user,
"source" => $priv_guest,
),
// Blogging application
"blog" => array(
"index" => $priv_guest,
"view" => $priv_guest,
"drafts" => $priv_auth,
"publish" => $priv_auth,
"post" => $priv_auth,
"edit" => $priv_auth,
"delete" => $priv_auth,
"comment" => $priv_user,
"edcom" => $priv_user,
"delcom" => $priv_mod,
),
);