-
Notifications
You must be signed in to change notification settings - Fork 0
/
article.yaml
159 lines (141 loc) · 6.05 KB
/
article.yaml
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
153
154
155
156
157
158
159
code :
name : Article
description : Article
folder_name : article
version :
created_date :
author : Putra Sudaryanto [putra@ommu.id]
db_table_name :
db_sql_filename :
plugin_menu :
- urlTitle: View Articles
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: Datas
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: -, attr: -, icon: -}
submenu :
- urlTitle: Categories
urlRules: {siteType: "0,1", userLevel: 1}
urlPath: {url: o/category/manage, attr: -, icon: -}
- urlTitle: Photos
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/media/manage, attr: -, icon: -}
- urlTitle: Files
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/file/manage, attr: -, icon: -}
- urlTitle: Tags
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/tag/manage, attr: -, icon: -}
- urlTitle: Views
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/view/manage, attr: -, icon: -}
- urlTitle: Downloads
urlRules: {siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/download/manage, attr: -, icon: -}
- urlTitle: Likes
urlRules: {siteType: 1, userLevel: "1,2"}
urlPath: {url: o/like/manage, attr: -, icon: -}
- urlTitle: Settings
urlRules: {siteType: "0,1", userLevel: 1}
urlPath: {url: o/setting/edit, attr: -, icon: -}
- urlTitle: Article Manual
urlRules: {siteType: "0,1", userLevel: 2}
urlPath: {url: o/setting/manual, attr: -, icon: -}
content_menu :
# controller o/admin
- urlTitle: Add Article
urlRules: {article, o/admin, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: add, attr: -, icon: -}
- urlTitle: Back to Manage
urlRules: {article, o/admin, "add,edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: manage, attr: -, icon: -}
- urlTitle: View Article
urlRules: {article, o/admin, edit, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: view, attr: id=$_GET*id, icon: -}
- urlTitle: Update Article
urlRules: {article, o/admin, view, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: edit, attr: id=$_GET*id, icon: -}
- urlTitle: Delete Article
urlRules: {article, o/admin, "edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: delete, attr: id=$_GET*id, icon: -}
# controller o/category
- urlTitle: Add Category
urlRules: {article, o/category, manage, siteType: "0,1", userLevel: 1}
urlPath: {url: add, attr: -, icon: -}
# controller o/media
- urlTitle: Back to Article
urlRules: {article, o/media, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: Back to Manage
urlRules: {article, o/media, "edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: manage, attr: -, icon: -}
- urlTitle: View Photo
urlRules: {article, o/media, edit, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: view, attr: id=$_GET*id, icon: -}
- urlTitle: Update Photo
urlRules: {article, o/media, view, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: edit, attr: id=$_GET*id, icon: -}
- urlTitle: Delete Photo
urlRules: {article, o/media, "edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: delete, attr: id=$_GET*id, icon: -}
# controller o/file
- urlTitle: Back to Article
urlRules: {article, o/file, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: Back to Manage
urlRules: {article, o/file, "edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: manage, attr: -, icon: -}
- urlTitle: View File
urlRules: {article, o/file, edit, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: view, attr: id=$_GET*id, icon: -}
- urlTitle: Update File
urlRules: {article, o/file, view, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: edit, attr: id=$_GET*id, icon: -}
- urlTitle: Delete File
urlRules: {article, o/file, "edit,view", siteType: "0,1", userLevel: "1,2"}
urlPath: {url: delete, attr: id=$_GET*id, icon: -}
# controller o/tag
- urlTitle: Back to Article
urlRules: {article, o/tag, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
# controller o/view
- urlTitle: Back to Article
urlRules: {article, o/view, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: View Article Views Data
urlRules: {article, o/view, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: history/view/manage, attr: -, icon: -}
# controller history/view
- urlTitle: Back to Article Views
urlRules: {article, history/view, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/view/manage, attr: -, icon: -}
# controller o/download
- urlTitle: Back to Article
urlRules: {article, o/download, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: View Article Downloads Data
urlRules: {article, o/download, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: history/download/manage, attr: -, icon: -}
# controller history/download
- urlTitle: Back to Article Downlaods
urlRules: {article, history/download, manage, siteType: "0,1", userLevel: "1,2"}
urlPath: {url: o/download/manage, attr: -, icon: -}
# controller o/like
- urlTitle: Back to Article
urlRules: {article, o/like, manage, siteType: 1, userLevel: "1,2"}
urlPath: {url: o/admin/manage, attr: -, icon: -}
- urlTitle: View Article Likes Data
urlRules: {article, o/like, manage, siteType: 1, userLevel: "1,2"}
urlPath: {url: history/like/manage, attr: -, icon: -}
# controller history/like
- urlTitle: Back to Article Likes
urlRules: {article, history/like, manage, siteType: 1, userLevel: "1,2"}
urlPath: {url: o/like/manage, attr: -, icon: -}
# controller o/setting
- urlTitle: Add Category
urlRules: {article, o/setting, edit, siteType: "0,1", userLevel: 1}
urlPath: {url: o/category/add, attr: -, icon: -}
- urlTitle: Article Manual
urlRules: {article, o/setting, edit, siteType: "0,1", userLevel: 1}
urlPath: {url: manual, attr: -, icon: -}