@intelact/bright 0.9.169 → 0.9.170

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,175 +6,670 @@ const permissions_1 = require("./permissions");
6
6
  const ACL = {};
7
7
  exports.ACL = ACL;
8
8
  ACL[role_1.Role.BrandOwner] = [
9
- permissions_1.Permission.InvitePublisher,
10
- permissions_1.Permission.SuspendPublisher,
11
- permissions_1.Permission.DisablePublisher,
12
- permissions_1.Permission.ManagePublisher,
13
- permissions_1.Permission.InviteBrandUser,
14
- permissions_1.Permission.SuspendBrandUser,
15
- permissions_1.Permission.DisableBrandUser,
16
- permissions_1.Permission.ManageBrandSettings,
17
- permissions_1.Permission.ViewPublisherContent,
18
- permissions_1.Permission.BlockPublisherContent,
19
- permissions_1.Permission.MergeAuthors,
20
- permissions_1.Permission.ManageTopics,
21
- permissions_1.Permission.ManageFeedbacks,
22
- permissions_1.Permission.ManageQuestion,
23
- permissions_1.Permission.ManageCategories,
24
- permissions_1.Permission.ManageSurveys,
25
- permissions_1.Permission.ManagePromotions,
26
- permissions_1.Permission.ManageBoosts,
27
- permissions_1.Permission.GenerateSurveyReports,
28
- permissions_1.Permission.GeneratePromotionReports,
29
- permissions_1.Permission.GenerateFeedbackReports,
30
- permissions_1.Permission.GeneratePerformanceReports,
9
+ permissions_1.Permission.BrandAccountView,
10
+ permissions_1.Permission.BrandAccountManage,
11
+ permissions_1.Permission.BrandPublisherView,
12
+ permissions_1.Permission.BrandPublisherInvite,
13
+ permissions_1.Permission.BrandPublisherActivate,
14
+ permissions_1.Permission.BrandPublisherDeactivate,
15
+ permissions_1.Permission.BrandPublisherSuspend,
16
+ permissions_1.Permission.BrandPublisherDelete,
17
+ permissions_1.Permission.BrandPublisherManage,
18
+ permissions_1.Permission.BrandUserView,
19
+ permissions_1.Permission.BrandUserInvite,
20
+ permissions_1.Permission.BrandUserActivate,
21
+ permissions_1.Permission.BrandUserDeactivate,
22
+ permissions_1.Permission.BrandUserSuspend,
23
+ permissions_1.Permission.BrandUserDelete,
24
+ permissions_1.Permission.BrandUserManage,
25
+ permissions_1.Permission.BrandSettingView,
26
+ permissions_1.Permission.BrandSettingManage,
27
+ permissions_1.Permission.PostArticleView,
28
+ permissions_1.Permission.PostArticleBlock,
29
+ permissions_1.Permission.PostBookView,
30
+ permissions_1.Permission.PostBookBlock,
31
+ permissions_1.Permission.PostAudioView,
32
+ permissions_1.Permission.PostAudioBlock,
33
+ permissions_1.Permission.PostVideoView,
34
+ permissions_1.Permission.PostVideoBlock,
35
+ permissions_1.Permission.PostEventView,
36
+ permissions_1.Permission.PostEventBlock,
37
+ permissions_1.Permission.PostNewsView,
38
+ permissions_1.Permission.PostNewsBlock,
39
+ permissions_1.Permission.QuoteView,
40
+ permissions_1.Permission.QuoteManage,
41
+ permissions_1.Permission.QuotePublish,
42
+ permissions_1.Permission.AuthorView,
43
+ permissions_1.Permission.AuthorManage,
44
+ permissions_1.Permission.AuthorMerge,
45
+ permissions_1.Permission.BoostView,
46
+ permissions_1.Permission.BoostManage,
47
+ permissions_1.Permission.BoostPublish,
48
+ permissions_1.Permission.CategoryView,
49
+ permissions_1.Permission.CategoryManage,
50
+ permissions_1.Permission.CollectionView,
51
+ permissions_1.Permission.CollectionManage,
52
+ permissions_1.Permission.FeedbackView,
53
+ permissions_1.Permission.FeedbackManage,
54
+ permissions_1.Permission.PromotionPublish,
55
+ permissions_1.Permission.PromotionView,
56
+ permissions_1.Permission.PromotionManage,
57
+ permissions_1.Permission.PromotionPublish,
58
+ permissions_1.Permission.SurveyView,
59
+ permissions_1.Permission.SurveyManage,
60
+ permissions_1.Permission.SurveyPublish,
61
+ permissions_1.Permission.QuestionView,
62
+ permissions_1.Permission.QuestionManage,
63
+ permissions_1.Permission.QuestionPublish,
64
+ permissions_1.Permission.ReportPerformance,
65
+ permissions_1.Permission.ReportFeedback,
66
+ permissions_1.Permission.ReportPromotion,
67
+ permissions_1.Permission.ReportSurvey,
68
+ permissions_1.Permission.ReportUser,
69
+ permissions_1.Permission.TopicView,
70
+ permissions_1.Permission.TopicManage,
31
71
  ];
32
72
  ACL[role_1.Role.BrandAdministrator] = [
33
- permissions_1.Permission.ManagePublisher,
34
- permissions_1.Permission.InviteBrandUser,
35
- permissions_1.Permission.SuspendBrandUser,
36
- permissions_1.Permission.DisableBrandUser,
37
- permissions_1.Permission.ManageBrandSettings,
38
- permissions_1.Permission.ViewPublisherContent,
39
- permissions_1.Permission.BlockPublisherContent,
40
- permissions_1.Permission.MergeAuthors,
41
- permissions_1.Permission.ManageTopics,
42
- permissions_1.Permission.ManageFeedbacks,
43
- permissions_1.Permission.ManageQuestion,
44
- permissions_1.Permission.ManageCategories,
45
- permissions_1.Permission.ManageSurveys,
46
- permissions_1.Permission.ManagePromotions,
47
- permissions_1.Permission.ManageBoosts,
48
- permissions_1.Permission.GenerateSurveyReports,
49
- permissions_1.Permission.GeneratePromotionReports,
50
- permissions_1.Permission.GenerateFeedbackReports,
51
- permissions_1.Permission.GeneratePerformanceReports,
73
+ permissions_1.Permission.BrandAccountView,
74
+ permissions_1.Permission.BrandPublisherView,
75
+ permissions_1.Permission.BrandUserView,
76
+ permissions_1.Permission.BrandUserInvite,
77
+ permissions_1.Permission.BrandUserActivate,
78
+ permissions_1.Permission.BrandUserDeactivate,
79
+ permissions_1.Permission.BrandUserSuspend,
80
+ permissions_1.Permission.BrandUserDelete,
81
+ permissions_1.Permission.BrandUserManage,
82
+ permissions_1.Permission.BrandSettingView,
83
+ permissions_1.Permission.BrandSettingManage,
84
+ permissions_1.Permission.PublisherSettingView,
85
+ permissions_1.Permission.PostArticleView,
86
+ permissions_1.Permission.PostArticleBlock,
87
+ permissions_1.Permission.PostBookView,
88
+ permissions_1.Permission.PostBookBlock,
89
+ permissions_1.Permission.PostAudioView,
90
+ permissions_1.Permission.PostAudioBlock,
91
+ permissions_1.Permission.PostVideoView,
92
+ permissions_1.Permission.PostVideoBlock,
93
+ permissions_1.Permission.PostEventView,
94
+ permissions_1.Permission.PostEventBlock,
95
+ permissions_1.Permission.PostNewsView,
96
+ permissions_1.Permission.PostNewsBlock,
97
+ permissions_1.Permission.CollectionView,
98
+ permissions_1.Permission.QuoteView,
99
+ permissions_1.Permission.AuthorView,
100
+ permissions_1.Permission.AuthorManage,
101
+ permissions_1.Permission.AuthorMerge,
102
+ permissions_1.Permission.BoostView,
103
+ permissions_1.Permission.BoostManage,
104
+ permissions_1.Permission.BoostPublish,
105
+ permissions_1.Permission.CategoryView,
106
+ permissions_1.Permission.CategoryManage,
107
+ permissions_1.Permission.FeedbackView,
108
+ permissions_1.Permission.FeedbackManage,
109
+ permissions_1.Permission.PromotionPublish,
110
+ permissions_1.Permission.PromotionView,
111
+ permissions_1.Permission.PromotionManage,
112
+ permissions_1.Permission.PromotionPublish,
113
+ permissions_1.Permission.SurveyView,
114
+ permissions_1.Permission.SurveyManage,
115
+ permissions_1.Permission.SurveyPublish,
116
+ permissions_1.Permission.QuestionView,
117
+ permissions_1.Permission.QuestionManage,
118
+ permissions_1.Permission.QuestionPublish,
119
+ permissions_1.Permission.ReportPerformance,
120
+ permissions_1.Permission.ReportFeedback,
121
+ permissions_1.Permission.ReportPromotion,
122
+ permissions_1.Permission.ReportSurvey,
123
+ permissions_1.Permission.ReportUser,
124
+ permissions_1.Permission.TopicView,
125
+ permissions_1.Permission.TopicManage,
52
126
  ];
53
127
  ACL[role_1.Role.BrandQuestionsManager] = [
54
- permissions_1.Permission.MergeAuthors,
55
- permissions_1.Permission.ManageQuestion,
56
- permissions_1.Permission.ManageCategories,
128
+ permissions_1.Permission.BrandAccountView,
129
+ permissions_1.Permission.BrandPublisherView,
130
+ permissions_1.Permission.BrandUserView,
131
+ permissions_1.Permission.BrandSettingView,
132
+ permissions_1.Permission.PostArticleView,
133
+ permissions_1.Permission.PostBookView,
134
+ permissions_1.Permission.PostAudioView,
135
+ permissions_1.Permission.PostVideoView,
136
+ permissions_1.Permission.PostEventView,
137
+ permissions_1.Permission.PostNewsView,
138
+ permissions_1.Permission.QuoteView,
139
+ permissions_1.Permission.AuthorView,
140
+ permissions_1.Permission.BoostView,
141
+ permissions_1.Permission.CategoryView,
142
+ permissions_1.Permission.CollectionView,
143
+ permissions_1.Permission.FeedbackView,
144
+ permissions_1.Permission.PromotionView,
145
+ permissions_1.Permission.SurveyView,
146
+ permissions_1.Permission.TopicView,
147
+ permissions_1.Permission.QuestionView,
148
+ permissions_1.Permission.QuestionManage,
149
+ permissions_1.Permission.QuestionPublish,
150
+ permissions_1.Permission.ReportPerformance,
151
+ permissions_1.Permission.ReportFeedback,
152
+ permissions_1.Permission.ReportPromotion,
153
+ permissions_1.Permission.ReportSurvey,
154
+ permissions_1.Permission.ReportUser,
57
155
  ];
58
156
  ACL[role_1.Role.BrandSurveysManager] = [
59
- permissions_1.Permission.ManageSurveys,
60
- permissions_1.Permission.GenerateSurveyReports,
61
- permissions_1.Permission.GeneratePerformanceReports,
157
+ permissions_1.Permission.BrandAccountView,
158
+ permissions_1.Permission.BrandPublisherView,
159
+ permissions_1.Permission.BrandUserView,
160
+ permissions_1.Permission.BrandSettingView,
161
+ permissions_1.Permission.PostArticleView,
162
+ permissions_1.Permission.PostBookView,
163
+ permissions_1.Permission.PostAudioView,
164
+ permissions_1.Permission.PostVideoView,
165
+ permissions_1.Permission.PostEventView,
166
+ permissions_1.Permission.PostNewsView,
167
+ permissions_1.Permission.QuoteView,
168
+ permissions_1.Permission.AuthorView,
169
+ permissions_1.Permission.BoostView,
170
+ permissions_1.Permission.CategoryView,
171
+ permissions_1.Permission.CollectionView,
172
+ permissions_1.Permission.FeedbackView,
173
+ permissions_1.Permission.PromotionView,
174
+ permissions_1.Permission.QuestionView,
175
+ permissions_1.Permission.TopicView,
176
+ permissions_1.Permission.SurveyView,
177
+ permissions_1.Permission.SurveyManage,
178
+ permissions_1.Permission.SurveyPublish,
179
+ permissions_1.Permission.ReportPerformance,
180
+ permissions_1.Permission.ReportFeedback,
181
+ permissions_1.Permission.ReportPromotion,
182
+ permissions_1.Permission.ReportSurvey,
183
+ permissions_1.Permission.ReportUser,
62
184
  ];
63
185
  ACL[role_1.Role.BrandBoostManager] = [
64
- permissions_1.Permission.ManageBoosts,
65
- permissions_1.Permission.GeneratePerformanceReports,
186
+ permissions_1.Permission.BrandAccountView,
187
+ permissions_1.Permission.BrandPublisherView,
188
+ permissions_1.Permission.BrandUserView,
189
+ permissions_1.Permission.BrandSettingView,
190
+ permissions_1.Permission.PostArticleView,
191
+ permissions_1.Permission.PostBookView,
192
+ permissions_1.Permission.PostAudioView,
193
+ permissions_1.Permission.PostVideoView,
194
+ permissions_1.Permission.PostEventView,
195
+ permissions_1.Permission.PostNewsView,
196
+ permissions_1.Permission.QuoteView,
197
+ permissions_1.Permission.AuthorView,
198
+ permissions_1.Permission.CategoryView,
199
+ permissions_1.Permission.CollectionView,
200
+ permissions_1.Permission.FeedbackView,
201
+ permissions_1.Permission.PromotionView,
202
+ permissions_1.Permission.SurveyView,
203
+ permissions_1.Permission.QuestionView,
204
+ permissions_1.Permission.TopicView,
205
+ permissions_1.Permission.BoostView,
206
+ permissions_1.Permission.BoostManage,
207
+ permissions_1.Permission.BoostPublish,
208
+ permissions_1.Permission.ReportPerformance,
209
+ permissions_1.Permission.ReportFeedback,
210
+ permissions_1.Permission.ReportPromotion,
211
+ permissions_1.Permission.ReportSurvey,
212
+ permissions_1.Permission.ReportUser,
66
213
  ];
67
214
  ACL[role_1.Role.BrandPromotionsManager] = [
68
- permissions_1.Permission.ManagePromotions,
69
- permissions_1.Permission.GeneratePromotionReports,
70
- permissions_1.Permission.GeneratePerformanceReports,
215
+ permissions_1.Permission.BrandAccountView,
216
+ permissions_1.Permission.BrandPublisherView,
217
+ permissions_1.Permission.BrandUserView,
218
+ permissions_1.Permission.BrandSettingView,
219
+ permissions_1.Permission.PostArticleView,
220
+ permissions_1.Permission.PostBookView,
221
+ permissions_1.Permission.PostAudioView,
222
+ permissions_1.Permission.PostVideoView,
223
+ permissions_1.Permission.PostEventView,
224
+ permissions_1.Permission.PostNewsView,
225
+ permissions_1.Permission.QuoteView,
226
+ permissions_1.Permission.AuthorView,
227
+ permissions_1.Permission.BoostView,
228
+ permissions_1.Permission.CategoryView,
229
+ permissions_1.Permission.CollectionView,
230
+ permissions_1.Permission.FeedbackView,
231
+ permissions_1.Permission.SurveyView,
232
+ permissions_1.Permission.QuestionView,
233
+ permissions_1.Permission.TopicView,
234
+ permissions_1.Permission.PromotionView,
235
+ permissions_1.Permission.PromotionManage,
236
+ permissions_1.Permission.PromotionPublish,
237
+ permissions_1.Permission.ReportPerformance,
238
+ permissions_1.Permission.ReportFeedback,
239
+ permissions_1.Permission.ReportPromotion,
240
+ permissions_1.Permission.ReportSurvey,
241
+ permissions_1.Permission.ReportUser,
71
242
  ];
72
243
  ACL[role_1.Role.BrandFeedbacksManager] = [
73
- permissions_1.Permission.ManageFeedbacks,
74
- permissions_1.Permission.GenerateFeedbackReports,
75
- permissions_1.Permission.GeneratePerformanceReports,
244
+ permissions_1.Permission.BrandAccountView,
245
+ permissions_1.Permission.BrandPublisherView,
246
+ permissions_1.Permission.BrandUserView,
247
+ permissions_1.Permission.BrandSettingView,
248
+ permissions_1.Permission.PostArticleView,
249
+ permissions_1.Permission.PostBookView,
250
+ permissions_1.Permission.PostAudioView,
251
+ permissions_1.Permission.PostVideoView,
252
+ permissions_1.Permission.PostEventView,
253
+ permissions_1.Permission.PostNewsView,
254
+ permissions_1.Permission.QuoteView,
255
+ permissions_1.Permission.AuthorView,
256
+ permissions_1.Permission.BoostView,
257
+ permissions_1.Permission.CategoryView,
258
+ permissions_1.Permission.PromotionView,
259
+ permissions_1.Permission.CollectionView,
260
+ permissions_1.Permission.SurveyView,
261
+ permissions_1.Permission.QuestionView,
262
+ permissions_1.Permission.TopicView,
263
+ permissions_1.Permission.FeedbackView,
264
+ permissions_1.Permission.FeedbackManage,
265
+ permissions_1.Permission.FeedbackPublish,
266
+ permissions_1.Permission.ReportPerformance,
267
+ permissions_1.Permission.ReportFeedback,
268
+ permissions_1.Permission.ReportPromotion,
269
+ permissions_1.Permission.ReportSurvey,
270
+ permissions_1.Permission.ReportUser,
76
271
  ];
77
272
  ACL[role_1.Role.BrandTopicsManager] = [
78
- permissions_1.Permission.ManageTopics,
79
- permissions_1.Permission.GeneratePerformanceReports,
273
+ permissions_1.Permission.BrandAccountView,
274
+ permissions_1.Permission.BrandPublisherView,
275
+ permissions_1.Permission.BrandUserView,
276
+ permissions_1.Permission.BrandSettingView,
277
+ permissions_1.Permission.PostArticleView,
278
+ permissions_1.Permission.PostBookView,
279
+ permissions_1.Permission.PostAudioView,
280
+ permissions_1.Permission.PostVideoView,
281
+ permissions_1.Permission.PostEventView,
282
+ permissions_1.Permission.PostNewsView,
283
+ permissions_1.Permission.QuoteView,
284
+ permissions_1.Permission.AuthorView,
285
+ permissions_1.Permission.BoostView,
286
+ permissions_1.Permission.CategoryView,
287
+ permissions_1.Permission.CollectionView,
288
+ permissions_1.Permission.FeedbackView,
289
+ permissions_1.Permission.PromotionView,
290
+ permissions_1.Permission.SurveyView,
291
+ permissions_1.Permission.QuestionView,
292
+ permissions_1.Permission.TopicView,
293
+ permissions_1.Permission.TopicManage,
294
+ permissions_1.Permission.ReportPerformance,
295
+ permissions_1.Permission.ReportFeedback,
296
+ permissions_1.Permission.ReportPromotion,
297
+ permissions_1.Permission.ReportSurvey,
298
+ permissions_1.Permission.ReportUser,
80
299
  ];
81
300
  ACL[role_1.Role.BrandAuthorsManager] = [
82
- permissions_1.Permission.MergeAuthors,
301
+ permissions_1.Permission.BrandAccountView,
302
+ permissions_1.Permission.BrandPublisherView,
303
+ permissions_1.Permission.BrandUserView,
304
+ permissions_1.Permission.BrandSettingView,
305
+ permissions_1.Permission.PostArticleView,
306
+ permissions_1.Permission.PostBookView,
307
+ permissions_1.Permission.PostAudioView,
308
+ permissions_1.Permission.PostVideoView,
309
+ permissions_1.Permission.PostEventView,
310
+ permissions_1.Permission.PostNewsView,
311
+ permissions_1.Permission.QuoteView,
312
+ permissions_1.Permission.BoostView,
313
+ permissions_1.Permission.CategoryView,
314
+ permissions_1.Permission.CollectionView,
315
+ permissions_1.Permission.FeedbackView,
316
+ permissions_1.Permission.PromotionView,
317
+ permissions_1.Permission.SurveyView,
318
+ permissions_1.Permission.QuestionView,
319
+ permissions_1.Permission.TopicView,
320
+ permissions_1.Permission.AuthorView,
321
+ permissions_1.Permission.AuthorManage,
322
+ permissions_1.Permission.AuthorMerge,
323
+ permissions_1.Permission.ReportPerformance,
324
+ permissions_1.Permission.ReportFeedback,
325
+ permissions_1.Permission.ReportPromotion,
326
+ permissions_1.Permission.ReportSurvey,
327
+ permissions_1.Permission.ReportUser,
83
328
  ];
84
329
  ACL[role_1.Role.PublisherOwner] = [
85
- permissions_1.Permission.InvitePublisherUser,
86
- permissions_1.Permission.SuspendPublisherUser,
87
- permissions_1.Permission.DisablePublisherUser,
88
- permissions_1.Permission.ManagePublisherAccount,
89
- permissions_1.Permission.ManagePublisherSettings,
90
- permissions_1.Permission.PublishContent,
91
- permissions_1.Permission.ArchiveContent,
92
- permissions_1.Permission.DeleteContent,
93
- permissions_1.Permission.ManageCollection,
94
- permissions_1.Permission.ManageAssets,
95
- permissions_1.Permission.EditArticles,
96
- permissions_1.Permission.EditBooks,
97
- permissions_1.Permission.EditVideos,
98
- permissions_1.Permission.EditAudios,
99
- permissions_1.Permission.EditNews,
100
- permissions_1.Permission.EditEvents,
101
- permissions_1.Permission.EditQuotes,
102
- permissions_1.Permission.GenerateSurveyReports,
103
- permissions_1.Permission.GeneratePromotionReports,
104
- permissions_1.Permission.GenerateFeedbackReports,
105
- permissions_1.Permission.GeneratePerformanceReports,
330
+ permissions_1.Permission.PublisherAccountView,
331
+ permissions_1.Permission.PublisherAccountManage,
332
+ permissions_1.Permission.PublisherAccountClose,
333
+ permissions_1.Permission.PublisherUserView,
334
+ permissions_1.Permission.PublisherUserInvite,
335
+ permissions_1.Permission.PublisherUserActivate,
336
+ permissions_1.Permission.PublisherUserDeactivate,
337
+ permissions_1.Permission.PublisherUserSuspend,
338
+ permissions_1.Permission.PublisherUserDelete,
339
+ permissions_1.Permission.PublisherUserManage,
340
+ permissions_1.Permission.PublisherSettingView,
341
+ permissions_1.Permission.PublisherSettingManage,
342
+ permissions_1.Permission.PostArticleView,
343
+ permissions_1.Permission.PostArticleContent,
344
+ permissions_1.Permission.PostArticleAssets,
345
+ permissions_1.Permission.PostArticleTopics,
346
+ permissions_1.Permission.PostArticleDraft,
347
+ permissions_1.Permission.PostArticleApprove,
348
+ permissions_1.Permission.PostArticlePublish,
349
+ permissions_1.Permission.PostArticleArchive,
350
+ permissions_1.Permission.PostArticleDelete,
351
+ permissions_1.Permission.PostBookView,
352
+ permissions_1.Permission.PostBookContent,
353
+ permissions_1.Permission.PostBookAssets,
354
+ permissions_1.Permission.PostBookTopics,
355
+ permissions_1.Permission.PostBookDraft,
356
+ permissions_1.Permission.PostBookApprove,
357
+ permissions_1.Permission.PostBookPublish,
358
+ permissions_1.Permission.PostBookArchive,
359
+ permissions_1.Permission.PostBookDelete,
360
+ permissions_1.Permission.PostAudioView,
361
+ permissions_1.Permission.PostAudioContent,
362
+ permissions_1.Permission.PostAudioAssets,
363
+ permissions_1.Permission.PostAudioTopics,
364
+ permissions_1.Permission.PostAudioDraft,
365
+ permissions_1.Permission.PostAudioApprove,
366
+ permissions_1.Permission.PostAudioPublish,
367
+ permissions_1.Permission.PostAudioArchive,
368
+ permissions_1.Permission.PostAudioDelete,
369
+ permissions_1.Permission.PostVideoView,
370
+ permissions_1.Permission.PostVideoContent,
371
+ permissions_1.Permission.PostVideoAssets,
372
+ permissions_1.Permission.PostVideoTopics,
373
+ permissions_1.Permission.PostVideoDraft,
374
+ permissions_1.Permission.PostVideoApprove,
375
+ permissions_1.Permission.PostVideoPublish,
376
+ permissions_1.Permission.PostVideoArchive,
377
+ permissions_1.Permission.PostVideoDelete,
378
+ permissions_1.Permission.PostEventView,
379
+ permissions_1.Permission.PostEventContent,
380
+ permissions_1.Permission.PostEventAssets,
381
+ permissions_1.Permission.PostEventTopics,
382
+ permissions_1.Permission.PostEventDraft,
383
+ permissions_1.Permission.PostEventApprove,
384
+ permissions_1.Permission.PostEventPublish,
385
+ permissions_1.Permission.PostEventArchive,
386
+ permissions_1.Permission.PostEventDelete,
387
+ permissions_1.Permission.PostNewsView,
388
+ permissions_1.Permission.PostNewsContent,
389
+ permissions_1.Permission.PostNewsAssets,
390
+ permissions_1.Permission.PostNewsTopics,
391
+ permissions_1.Permission.PostNewsDraft,
392
+ permissions_1.Permission.PostNewsApprove,
393
+ permissions_1.Permission.PostNewsPublish,
394
+ permissions_1.Permission.PostNewsArchive,
395
+ permissions_1.Permission.PostNewsDelete,
396
+ permissions_1.Permission.QuoteView,
397
+ permissions_1.Permission.QuoteManage,
398
+ permissions_1.Permission.QuotePublish,
399
+ permissions_1.Permission.CollectionView,
400
+ permissions_1.Permission.CollectionManage,
401
+ permissions_1.Permission.AuthorView,
402
+ permissions_1.Permission.AuthorManage,
403
+ permissions_1.Permission.BoostView,
404
+ permissions_1.Permission.FeedbackView,
405
+ permissions_1.Permission.SurveyView,
406
+ permissions_1.Permission.QuestionView,
407
+ permissions_1.Permission.TopicView,
408
+ permissions_1.Permission.ReportPerformance,
409
+ permissions_1.Permission.ReportFeedback,
410
+ permissions_1.Permission.ReportPromotion,
411
+ permissions_1.Permission.ReportSurvey,
412
+ permissions_1.Permission.ReportUser,
106
413
  ];
107
414
  ACL[role_1.Role.PublisherAdministrator] = [
108
- permissions_1.Permission.ManagePublisherAccount,
109
- permissions_1.Permission.ManagePublisherSettings,
110
- permissions_1.Permission.PublishContent,
111
- permissions_1.Permission.ArchiveContent,
112
- permissions_1.Permission.DeleteContent,
113
- permissions_1.Permission.ManageCollection,
114
- permissions_1.Permission.ManageAssets,
115
- permissions_1.Permission.EditArticles,
116
- permissions_1.Permission.EditBooks,
117
- permissions_1.Permission.EditVideos,
118
- permissions_1.Permission.EditAudios,
119
- permissions_1.Permission.EditNews,
120
- permissions_1.Permission.EditEvents,
121
- permissions_1.Permission.EditQuotes,
122
- permissions_1.Permission.GenerateSurveyReports,
123
- permissions_1.Permission.GeneratePromotionReports,
124
- permissions_1.Permission.GenerateFeedbackReports,
125
- permissions_1.Permission.GeneratePerformanceReports,
415
+ permissions_1.Permission.PublisherAccountView,
416
+ permissions_1.Permission.PublisherAccountManage,
417
+ permissions_1.Permission.PublisherUserView,
418
+ permissions_1.Permission.PublisherUserInvite,
419
+ permissions_1.Permission.PublisherUserActivate,
420
+ permissions_1.Permission.PublisherUserDeactivate,
421
+ permissions_1.Permission.PublisherUserSuspend,
422
+ permissions_1.Permission.PublisherUserDelete,
423
+ permissions_1.Permission.PublisherUserManage,
424
+ permissions_1.Permission.PublisherSettingView,
425
+ permissions_1.Permission.PostArticleView,
426
+ permissions_1.Permission.PostArticleContent,
427
+ permissions_1.Permission.PostArticleAssets,
428
+ permissions_1.Permission.PostArticleTopics,
429
+ permissions_1.Permission.PostArticleDraft,
430
+ permissions_1.Permission.PostArticleApprove,
431
+ permissions_1.Permission.PostArticlePublish,
432
+ permissions_1.Permission.PostArticleArchive,
433
+ permissions_1.Permission.PostArticleDelete,
434
+ permissions_1.Permission.PostBookView,
435
+ permissions_1.Permission.PostBookContent,
436
+ permissions_1.Permission.PostBookAssets,
437
+ permissions_1.Permission.PostBookTopics,
438
+ permissions_1.Permission.PostBookDraft,
439
+ permissions_1.Permission.PostBookApprove,
440
+ permissions_1.Permission.PostBookPublish,
441
+ permissions_1.Permission.PostBookArchive,
442
+ permissions_1.Permission.PostBookDelete,
443
+ permissions_1.Permission.PostAudioView,
444
+ permissions_1.Permission.PostAudioContent,
445
+ permissions_1.Permission.PostAudioAssets,
446
+ permissions_1.Permission.PostAudioTopics,
447
+ permissions_1.Permission.PostAudioDraft,
448
+ permissions_1.Permission.PostAudioApprove,
449
+ permissions_1.Permission.PostAudioPublish,
450
+ permissions_1.Permission.PostAudioArchive,
451
+ permissions_1.Permission.PostAudioDelete,
452
+ permissions_1.Permission.PostVideoView,
453
+ permissions_1.Permission.PostVideoContent,
454
+ permissions_1.Permission.PostVideoAssets,
455
+ permissions_1.Permission.PostVideoTopics,
456
+ permissions_1.Permission.PostVideoDraft,
457
+ permissions_1.Permission.PostVideoApprove,
458
+ permissions_1.Permission.PostVideoPublish,
459
+ permissions_1.Permission.PostVideoArchive,
460
+ permissions_1.Permission.PostVideoDelete,
461
+ permissions_1.Permission.PostEventView,
462
+ permissions_1.Permission.PostEventContent,
463
+ permissions_1.Permission.PostEventAssets,
464
+ permissions_1.Permission.PostEventTopics,
465
+ permissions_1.Permission.PostEventDraft,
466
+ permissions_1.Permission.PostEventApprove,
467
+ permissions_1.Permission.PostEventPublish,
468
+ permissions_1.Permission.PostEventArchive,
469
+ permissions_1.Permission.PostEventDelete,
470
+ permissions_1.Permission.PostNewsView,
471
+ permissions_1.Permission.PostNewsContent,
472
+ permissions_1.Permission.PostNewsAssets,
473
+ permissions_1.Permission.PostNewsTopics,
474
+ permissions_1.Permission.PostNewsDraft,
475
+ permissions_1.Permission.PostNewsApprove,
476
+ permissions_1.Permission.PostNewsPublish,
477
+ permissions_1.Permission.PostNewsArchive,
478
+ permissions_1.Permission.PostNewsDelete,
479
+ permissions_1.Permission.QuoteView,
480
+ permissions_1.Permission.QuoteManage,
481
+ permissions_1.Permission.QuotePublish,
482
+ permissions_1.Permission.CollectionView,
483
+ permissions_1.Permission.CollectionManage,
484
+ permissions_1.Permission.AuthorView,
485
+ permissions_1.Permission.AuthorManage,
486
+ permissions_1.Permission.BoostView,
487
+ permissions_1.Permission.FeedbackView,
488
+ permissions_1.Permission.SurveyView,
489
+ permissions_1.Permission.QuestionView,
490
+ permissions_1.Permission.TopicView,
491
+ permissions_1.Permission.ReportPerformance,
492
+ permissions_1.Permission.ReportFeedback,
493
+ permissions_1.Permission.ReportPromotion,
494
+ permissions_1.Permission.ReportSurvey,
495
+ permissions_1.Permission.ReportUser,
126
496
  ];
127
497
  ACL[role_1.Role.PublisherManager] = [
128
- permissions_1.Permission.PublishContent,
129
- permissions_1.Permission.ArchiveContent,
130
- permissions_1.Permission.DeleteContent,
131
- permissions_1.Permission.ManageCollection,
132
- permissions_1.Permission.ManageAssets,
133
- permissions_1.Permission.EditArticles,
134
- permissions_1.Permission.EditBooks,
135
- permissions_1.Permission.EditVideos,
136
- permissions_1.Permission.EditAudios,
137
- permissions_1.Permission.EditNews,
138
- permissions_1.Permission.EditEvents,
139
- permissions_1.Permission.EditQuotes,
140
- permissions_1.Permission.GenerateSurveyReports,
141
- permissions_1.Permission.GeneratePromotionReports,
142
- permissions_1.Permission.GenerateFeedbackReports,
143
- permissions_1.Permission.GeneratePerformanceReports,
498
+ permissions_1.Permission.PublisherAccountView,
499
+ permissions_1.Permission.PublisherUserView,
500
+ permissions_1.Permission.PublisherSettingView,
501
+ permissions_1.Permission.PostArticleView,
502
+ permissions_1.Permission.PostArticleContent,
503
+ permissions_1.Permission.PostArticleAssets,
504
+ permissions_1.Permission.PostArticleTopics,
505
+ permissions_1.Permission.PostArticleDraft,
506
+ permissions_1.Permission.PostArticleApprove,
507
+ permissions_1.Permission.PostArticlePublish,
508
+ permissions_1.Permission.PostArticleArchive,
509
+ permissions_1.Permission.PostArticleDelete,
510
+ permissions_1.Permission.PostBookView,
511
+ permissions_1.Permission.PostBookContent,
512
+ permissions_1.Permission.PostBookAssets,
513
+ permissions_1.Permission.PostBookTopics,
514
+ permissions_1.Permission.PostBookDraft,
515
+ permissions_1.Permission.PostBookApprove,
516
+ permissions_1.Permission.PostBookPublish,
517
+ permissions_1.Permission.PostBookArchive,
518
+ permissions_1.Permission.PostBookDelete,
519
+ permissions_1.Permission.PostAudioView,
520
+ permissions_1.Permission.PostAudioContent,
521
+ permissions_1.Permission.PostAudioAssets,
522
+ permissions_1.Permission.PostAudioTopics,
523
+ permissions_1.Permission.PostAudioDraft,
524
+ permissions_1.Permission.PostAudioApprove,
525
+ permissions_1.Permission.PostAudioPublish,
526
+ permissions_1.Permission.PostAudioArchive,
527
+ permissions_1.Permission.PostAudioDelete,
528
+ permissions_1.Permission.PostVideoView,
529
+ permissions_1.Permission.PostVideoContent,
530
+ permissions_1.Permission.PostVideoAssets,
531
+ permissions_1.Permission.PostVideoTopics,
532
+ permissions_1.Permission.PostVideoDraft,
533
+ permissions_1.Permission.PostVideoApprove,
534
+ permissions_1.Permission.PostVideoPublish,
535
+ permissions_1.Permission.PostVideoArchive,
536
+ permissions_1.Permission.PostVideoDelete,
537
+ permissions_1.Permission.PostEventView,
538
+ permissions_1.Permission.PostEventContent,
539
+ permissions_1.Permission.PostEventAssets,
540
+ permissions_1.Permission.PostEventTopics,
541
+ permissions_1.Permission.PostEventDraft,
542
+ permissions_1.Permission.PostEventApprove,
543
+ permissions_1.Permission.PostEventPublish,
544
+ permissions_1.Permission.PostEventArchive,
545
+ permissions_1.Permission.PostEventDelete,
546
+ permissions_1.Permission.PostNewsView,
547
+ permissions_1.Permission.PostNewsContent,
548
+ permissions_1.Permission.PostNewsAssets,
549
+ permissions_1.Permission.PostNewsTopics,
550
+ permissions_1.Permission.PostNewsDraft,
551
+ permissions_1.Permission.PostNewsApprove,
552
+ permissions_1.Permission.PostNewsPublish,
553
+ permissions_1.Permission.PostNewsArchive,
554
+ permissions_1.Permission.PostNewsDelete,
555
+ permissions_1.Permission.QuoteView,
556
+ permissions_1.Permission.QuoteManage,
557
+ permissions_1.Permission.QuotePublish,
558
+ permissions_1.Permission.CollectionView,
559
+ permissions_1.Permission.CollectionManage,
560
+ permissions_1.Permission.AuthorView,
561
+ permissions_1.Permission.AuthorManage,
562
+ permissions_1.Permission.BoostView,
563
+ permissions_1.Permission.FeedbackView,
564
+ permissions_1.Permission.SurveyView,
565
+ permissions_1.Permission.QuestionView,
566
+ permissions_1.Permission.TopicView,
567
+ permissions_1.Permission.ReportPerformance,
568
+ permissions_1.Permission.ReportFeedback,
569
+ permissions_1.Permission.ReportPromotion,
570
+ permissions_1.Permission.ReportSurvey,
571
+ permissions_1.Permission.ReportUser,
144
572
  ];
145
573
  ACL[role_1.Role.PublisherArticlesEditor] = [
146
- permissions_1.Permission.ManageAssets,
147
- permissions_1.Permission.EditArticles,
148
- permissions_1.Permission.GeneratePerformanceReports,
574
+ permissions_1.Permission.PostArticleView,
575
+ permissions_1.Permission.AuthorView,
576
+ permissions_1.Permission.PostBookView,
577
+ permissions_1.Permission.PostAudioView,
578
+ permissions_1.Permission.PostVideoView,
579
+ permissions_1.Permission.PostEventView,
580
+ permissions_1.Permission.PostNewsView,
581
+ permissions_1.Permission.QuoteView,
582
+ permissions_1.Permission.CollectionView,
583
+ permissions_1.Permission.PostArticleContent,
584
+ permissions_1.Permission.PostArticleDraft,
585
+ permissions_1.Permission.PostArticleApprove,
586
+ permissions_1.Permission.AuthorManage,
149
587
  ];
150
588
  ACL[role_1.Role.PublisherBooksEditor] = [
151
- permissions_1.Permission.ManageAssets,
152
- permissions_1.Permission.EditBooks,
153
- permissions_1.Permission.GeneratePerformanceReports,
589
+ permissions_1.Permission.PostArticleView,
590
+ permissions_1.Permission.AuthorView,
591
+ permissions_1.Permission.PostBookView,
592
+ permissions_1.Permission.PostAudioView,
593
+ permissions_1.Permission.PostVideoView,
594
+ permissions_1.Permission.PostEventView,
595
+ permissions_1.Permission.PostNewsView,
596
+ permissions_1.Permission.QuoteView,
597
+ permissions_1.Permission.CollectionView,
598
+ permissions_1.Permission.PostBookContent,
599
+ permissions_1.Permission.PostBookDraft,
600
+ permissions_1.Permission.PostBookApprove,
601
+ permissions_1.Permission.AuthorManage,
154
602
  ];
155
603
  ACL[role_1.Role.PublisherVideosEditor] = [
156
- permissions_1.Permission.ManageAssets,
157
- permissions_1.Permission.EditVideos,
158
- permissions_1.Permission.GeneratePerformanceReports,
604
+ permissions_1.Permission.PostArticleView,
605
+ permissions_1.Permission.AuthorView,
606
+ permissions_1.Permission.PostBookView,
607
+ permissions_1.Permission.PostAudioView,
608
+ permissions_1.Permission.PostVideoView,
609
+ permissions_1.Permission.PostEventView,
610
+ permissions_1.Permission.PostNewsView,
611
+ permissions_1.Permission.QuoteView,
612
+ permissions_1.Permission.CollectionView,
613
+ permissions_1.Permission.PostVideoContent,
614
+ permissions_1.Permission.PostVideoDraft,
615
+ permissions_1.Permission.PostVideoApprove,
616
+ permissions_1.Permission.AuthorManage,
159
617
  ];
160
618
  ACL[role_1.Role.PublisherAudiosEditor] = [
161
- permissions_1.Permission.ManageAssets,
162
- permissions_1.Permission.EditAudios,
163
- permissions_1.Permission.GeneratePerformanceReports,
619
+ permissions_1.Permission.PostArticleView,
620
+ permissions_1.Permission.AuthorView,
621
+ permissions_1.Permission.PostBookView,
622
+ permissions_1.Permission.PostAudioView,
623
+ permissions_1.Permission.PostVideoView,
624
+ permissions_1.Permission.PostEventView,
625
+ permissions_1.Permission.PostNewsView,
626
+ permissions_1.Permission.QuoteView,
627
+ permissions_1.Permission.CollectionView,
628
+ permissions_1.Permission.PostAudioContent,
629
+ permissions_1.Permission.PostAudioDraft,
630
+ permissions_1.Permission.PostAudioApprove,
631
+ permissions_1.Permission.AuthorManage,
164
632
  ];
165
633
  ACL[role_1.Role.PublisherNewsEditor] = [
166
- permissions_1.Permission.ManageAssets,
167
- permissions_1.Permission.EditNews,
168
- permissions_1.Permission.GeneratePerformanceReports,
634
+ permissions_1.Permission.PostArticleView,
635
+ permissions_1.Permission.AuthorView,
636
+ permissions_1.Permission.PostBookView,
637
+ permissions_1.Permission.PostAudioView,
638
+ permissions_1.Permission.PostVideoView,
639
+ permissions_1.Permission.PostEventView,
640
+ permissions_1.Permission.PostNewsView,
641
+ permissions_1.Permission.QuoteView,
642
+ permissions_1.Permission.CollectionView,
643
+ permissions_1.Permission.PostNewsContent,
644
+ permissions_1.Permission.PostNewsDraft,
645
+ permissions_1.Permission.PostNewsApprove,
646
+ permissions_1.Permission.AuthorManage,
169
647
  ];
170
648
  ACL[role_1.Role.PublisherEventsEditor] = [
171
- permissions_1.Permission.ManageAssets,
172
- permissions_1.Permission.EditEvents,
173
- permissions_1.Permission.GeneratePerformanceReports,
649
+ permissions_1.Permission.PostArticleView,
650
+ permissions_1.Permission.AuthorView,
651
+ permissions_1.Permission.PostBookView,
652
+ permissions_1.Permission.PostAudioView,
653
+ permissions_1.Permission.PostVideoView,
654
+ permissions_1.Permission.PostEventView,
655
+ permissions_1.Permission.PostNewsView,
656
+ permissions_1.Permission.QuoteView,
657
+ permissions_1.Permission.CollectionView,
658
+ permissions_1.Permission.PostEventContent,
659
+ permissions_1.Permission.PostEventDraft,
660
+ permissions_1.Permission.PostEventApprove,
661
+ permissions_1.Permission.AuthorManage,
174
662
  ];
175
663
  ACL[role_1.Role.PublisherQuotesEditor] = [
176
- permissions_1.Permission.ManageAssets,
177
- permissions_1.Permission.EditQuotes,
178
- permissions_1.Permission.GeneratePerformanceReports,
664
+ permissions_1.Permission.PostArticleView,
665
+ permissions_1.Permission.AuthorView,
666
+ permissions_1.Permission.PostBookView,
667
+ permissions_1.Permission.PostAudioView,
668
+ permissions_1.Permission.PostVideoView,
669
+ permissions_1.Permission.PostEventView,
670
+ permissions_1.Permission.PostNewsView,
671
+ permissions_1.Permission.QuoteView,
672
+ permissions_1.Permission.CollectionView,
673
+ permissions_1.Permission.QuoteManage,
179
674
  ];
180
675
  //# sourceMappingURL=acl.js.map