Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 0c8e073

Browse files
committed
feat(cms): initial export of config
1 parent 43069eb commit 0c8e073

File tree

34 files changed

+4939
-0
lines changed

34 files changed

+4939
-0
lines changed
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"name": "Author",
3+
"code": "strapi-author",
4+
"description": "Authors can manage the content they have created.",
5+
"permissions": [
6+
{
7+
"action": "plugin::content-manager.explorer.create",
8+
"actionParameters": {},
9+
"subject": "api::newspost.newspost",
10+
"properties": {
11+
"fields": [
12+
"title",
13+
"text"
14+
]
15+
},
16+
"conditions": [
17+
"admin::is-creator"
18+
]
19+
},
20+
{
21+
"action": "plugin::content-manager.explorer.delete",
22+
"actionParameters": {},
23+
"subject": "api::newspost.newspost",
24+
"properties": {},
25+
"conditions": [
26+
"admin::is-creator"
27+
]
28+
},
29+
{
30+
"action": "plugin::content-manager.explorer.read",
31+
"actionParameters": {},
32+
"subject": "api::newspost.newspost",
33+
"properties": {
34+
"fields": [
35+
"title",
36+
"text"
37+
]
38+
},
39+
"conditions": [
40+
"admin::is-creator"
41+
]
42+
},
43+
{
44+
"action": "plugin::content-manager.explorer.update",
45+
"actionParameters": {},
46+
"subject": "api::newspost.newspost",
47+
"properties": {
48+
"fields": [
49+
"title",
50+
"text"
51+
]
52+
},
53+
"conditions": [
54+
"admin::is-creator"
55+
]
56+
},
57+
{
58+
"action": "plugin::content-manager.explorer.create",
59+
"actionParameters": {},
60+
"subject": "api::page.page",
61+
"properties": {
62+
"fields": [
63+
"pageTitle",
64+
"heroSection",
65+
"contentSection"
66+
]
67+
},
68+
"conditions": [
69+
"admin::is-creator"
70+
]
71+
},
72+
{
73+
"action": "plugin::content-manager.explorer.read",
74+
"actionParameters": {},
75+
"subject": "api::page.page",
76+
"properties": {
77+
"fields": [
78+
"pageTitle",
79+
"heroSection",
80+
"contentSection"
81+
]
82+
},
83+
"conditions": [
84+
"admin::is-creator"
85+
]
86+
},
87+
{
88+
"action": "plugin::content-manager.explorer.update",
89+
"actionParameters": {},
90+
"subject": "api::page.page",
91+
"properties": {
92+
"fields": [
93+
"pageTitle",
94+
"heroSection",
95+
"contentSection"
96+
]
97+
},
98+
"conditions": [
99+
"admin::is-creator"
100+
]
101+
},
102+
{
103+
"action": "plugin::upload.assets.copy-link",
104+
"actionParameters": {},
105+
"subject": null,
106+
"properties": {},
107+
"conditions": []
108+
},
109+
{
110+
"action": "plugin::upload.assets.create",
111+
"actionParameters": {},
112+
"subject": null,
113+
"properties": {},
114+
"conditions": []
115+
},
116+
{
117+
"action": "plugin::upload.assets.download",
118+
"actionParameters": {},
119+
"subject": null,
120+
"properties": {},
121+
"conditions": []
122+
},
123+
{
124+
"action": "plugin::upload.assets.update",
125+
"actionParameters": {},
126+
"subject": null,
127+
"properties": {},
128+
"conditions": [
129+
"admin::is-creator"
130+
]
131+
},
132+
{
133+
"action": "plugin::upload.configure-view",
134+
"actionParameters": {},
135+
"subject": null,
136+
"properties": {},
137+
"conditions": []
138+
},
139+
{
140+
"action": "plugin::upload.read",
141+
"actionParameters": {},
142+
"subject": null,
143+
"properties": {},
144+
"conditions": [
145+
"admin::is-creator"
146+
]
147+
}
148+
]
149+
}
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"name": "Editor",
3+
"code": "strapi-editor",
4+
"description": "Editors can manage and publish contents including those of other users.",
5+
"permissions": [
6+
{
7+
"action": "plugin::content-manager.explorer.create",
8+
"actionParameters": {},
9+
"subject": "api::newspost.newspost",
10+
"properties": {
11+
"fields": [
12+
"title",
13+
"text"
14+
]
15+
},
16+
"conditions": []
17+
},
18+
{
19+
"action": "plugin::content-manager.explorer.delete",
20+
"actionParameters": {},
21+
"subject": "api::newspost.newspost",
22+
"properties": {},
23+
"conditions": []
24+
},
25+
{
26+
"action": "plugin::content-manager.explorer.publish",
27+
"actionParameters": {},
28+
"subject": "api::newspost.newspost",
29+
"properties": {},
30+
"conditions": []
31+
},
32+
{
33+
"action": "plugin::content-manager.explorer.read",
34+
"actionParameters": {},
35+
"subject": "api::newspost.newspost",
36+
"properties": {
37+
"fields": [
38+
"title",
39+
"text"
40+
]
41+
},
42+
"conditions": []
43+
},
44+
{
45+
"action": "plugin::content-manager.explorer.update",
46+
"actionParameters": {},
47+
"subject": "api::newspost.newspost",
48+
"properties": {
49+
"fields": [
50+
"title",
51+
"text"
52+
]
53+
},
54+
"conditions": []
55+
},
56+
{
57+
"action": "plugin::content-manager.explorer.create",
58+
"actionParameters": {},
59+
"subject": "api::page.page",
60+
"properties": {
61+
"fields": [
62+
"pageTitle",
63+
"heroSection",
64+
"contentSection"
65+
]
66+
},
67+
"conditions": []
68+
},
69+
{
70+
"action": "plugin::content-manager.explorer.read",
71+
"actionParameters": {},
72+
"subject": "api::page.page",
73+
"properties": {
74+
"fields": [
75+
"pageTitle",
76+
"heroSection",
77+
"contentSection"
78+
]
79+
},
80+
"conditions": []
81+
},
82+
{
83+
"action": "plugin::content-manager.explorer.update",
84+
"actionParameters": {},
85+
"subject": "api::page.page",
86+
"properties": {
87+
"fields": [
88+
"pageTitle",
89+
"heroSection",
90+
"contentSection"
91+
]
92+
},
93+
"conditions": []
94+
},
95+
{
96+
"action": "plugin::upload.assets.copy-link",
97+
"actionParameters": {},
98+
"subject": null,
99+
"properties": {},
100+
"conditions": []
101+
},
102+
{
103+
"action": "plugin::upload.assets.create",
104+
"actionParameters": {},
105+
"subject": null,
106+
"properties": {},
107+
"conditions": []
108+
},
109+
{
110+
"action": "plugin::upload.assets.download",
111+
"actionParameters": {},
112+
"subject": null,
113+
"properties": {},
114+
"conditions": []
115+
},
116+
{
117+
"action": "plugin::upload.assets.update",
118+
"actionParameters": {},
119+
"subject": null,
120+
"properties": {},
121+
"conditions": []
122+
},
123+
{
124+
"action": "plugin::upload.configure-view",
125+
"actionParameters": {},
126+
"subject": null,
127+
"properties": {},
128+
"conditions": []
129+
},
130+
{
131+
"action": "plugin::upload.read",
132+
"actionParameters": {},
133+
"subject": null,
134+
"properties": {},
135+
"conditions": []
136+
}
137+
]
138+
}

0 commit comments

Comments
 (0)