summaryrefslogtreecommitdiff
path: root/lib/conf/apps.php
blob: e0c1dfe7ba9523de2d3f79aa6c6172dbf733a36a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?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,
	),


);