forked from kiang/LampCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acl.ini
152 lines (131 loc) · 2.44 KB
/
acl.ini
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
; Access control config
; this file has a format of php .ini file
; IMPORTANT: keep this outsite the web dir
; This file should never be accessible with a browser
;
; Normally you don't have to edit this file
; unless new permission types are added
; base group, every group inherits from it
[everyone]
view_question = A
view_answers = A
view_comments = A
login = A
read = A
;
;unregistered or not logged in user
[guest]
parent_id = everyone
register = A
ask = D
answer = D
comment = D
vote = D
accept = D
;
;users who registered but not yet confirmed email address
[unactivated]
parent_id = everyone
register = A
edit_profile = A
register_email = A
ask = D
answer = D
comment = D
;
;regular member
[registered]
parent_id = everyone
register = D
change_password = A
edit_profile = A
add_blog_post = A
post_by_email = A
ask = A
answer = A
comment = D
vote = A
accept = A
;
;regular member
[virtual]
parent_id = registered
;
;can moderate some resources
;but still needs specific permissions on resource
[moderator]
parent_id = registered
edit_question = A
edit_answer = A
delete_question = A
delete_answer = A
delete_comment = A
retag = A
comment = A
ban_user = A
unban_user = A
close_question = A
edit_any_comment = A
;
;can do most of the things
[administrator]
parent_id = moderator
register = D
change_password = A
edit_profile = A
add_blog_post = A
post_by_email = A
ask = A
answer = A
comment = A
rate_question = A
rate_answer = A
accept = A
rate = A
delete_question = A
delete_answer = A
ban_user = A
shred_user = A
change_user_role = A
make_sticky = A
edit_any_profile = A
clear_cache = A
edit_category = A
;
;user caught spamming
[spammer]
parent_id = registered
ask = D
answer = D
comment = D
;
;user privileges suspended
[suspended]
parent_id = everyone
register = D
ask = D
answer = D
comment = D
vote = D
accept = D
;
;user account marked as deleted
[deleted]
register = D
ask = D
answer = D
comment = D
vote = D
accept = D
login = D
;
;Users without email address.
;Usually they joined with 3rd party auth like Twitter
;or FriendConnect
[external_auth]
parent_id = registered
register_email = A
; external user who has not confirmed
; an email address
[unactivated_external]
parent_id = registered