-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
admin_config.php
135 lines (127 loc) · 4.5 KB
/
admin_config.php
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
<?php
/*
* Textpattern Content Management System
* https://textpattern.com/
*
* Copyright (C) 2022 The Textpattern Development Team
*
* This file is part of Textpattern.
*
* Textpattern is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* Textpattern is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Textpattern. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* Collection of user configuration options.
*
* @package User
*/
/**
* Sets permissions.
*
* @global array $txp_permissions
*/
$txp_permissions = array(
'admin' => '1,2,3,4,5,6',
'admin.edit' => '1',
'admin.edit.own' => '1,2,3,4,5,6',
'admin.list' => '1,2,3',
'article.delete.own' => '1,2,3,4,5',
'article.delete' => '1,2',
'article.edit' => '1,2,3',
'article.edit.published' => '1,2,3',
'article.edit.own' => '1,2,3,4,5,6',
'article.edit.own.published' => '1,2,3,4',
'article.preview' => '1,2,3,4',
'article.publish' => '1,2,3,4',
'article.php' => '1,2,3',
'article.set_markup' => '1,2,3, 6',
'article' => '1,2,3,4,5,6',
'list' => '1,2,3,4,5,6', // Likely the same as for article.
'category' => '1,2,3',
'css' => '1,2, 6',
'debug.verbose' => '1,2',
'debug.backtrace' => '1',
'diag' => '1,2',
'discuss' => '1,2,3',
'file' => '1,2,3,4',
'file.edit' => '1,2',
'file.edit.own' => '1,2,3,4',
'file.delete' => '1,2',
'file.delete.own' => '1,2,3,4',
'file.publish' => '1,2,3,4',
'form' => '1,2,3, 6',
'image' => '1,2,3,4,5,6',
'image.create.trusted' => '', // Deprecated in 4.7.0
'image.edit' => '1,2,3, 6',
'image.edit.own' => '1,2,3,4,5,6',
'image.delete' => '1,2',
'image.delete.own' => '1,2,3,4,5,6',
'lang' => '1,2,3,4,5,6',
'lang.edit' => '1,2',
'link' => '1,2,3',
'link.edit' => '1,2,3',
'link.edit.own' => '1,2,3',
'link.delete' => '1,2',
'link.delete.own' => '1,2,3',
'log' => '1,2,3', // More?
'page' => '1,2,3, 6',
'pane' => '1,2,3,4,5,6',
'plugin' => '1,2',
'prefs' => '1,2,3,4,5,6',
'prefs.edit' => '1,2',
'prefs.site' => '1,2',
'prefs.admin' => '1,2',
'prefs.publish' => '1,2',
'prefs.feeds' => '1,2',
'prefs.custom' => '1,2',
// 'prefs.comments' => '1,2',
// 'prefs.advanced_options' => '1,2',
'section' => '1,2, 6',
'section.edit' => '1,2, 6',
'skin' => '1,2, 6',
'skin.edit' => '1,2, 6',
'tab.admin' => '1,2,3,4,5,6',
'tab.content' => '1,2,3,4,5,6',
'tab.extensions' => '1,2',
'tab.presentation' => '1,2,3, 6',
'tag' => '1,2,3,4,5,6',
'help' => '1,2,3,4,5,6',
);
/**
* List of user groups.
*
* @global array $txp_groups
*/
$txp_groups = array(
1 => 'publisher',
2 => 'managing_editor',
3 => 'copy_editor',
4 => 'staff_writer',
5 => 'freelancer',
6 => 'designer',
0 => 'privs_none',
);
/**
* List of pluggable options.
*
* @global array $txp_options
*/
$txp_options = array(
'advanced_options' => '1,2',
'use_comments' => array(
'prefs.comments' => '1,2'
),
'enable_dev_preview' => array(
0 => '1,2, 6',
'skin.preview' => true
)
);