You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.7 KiB
1 lines
1.7 KiB
<?php
return [
'type' => [
'guest' => [
'id' => 1,
'label' => 'مهمان'
],
'user' => [
'id' => 2,
'label' => 'کاربر'
],
'service' => [
'id' => 3,
'label' => 'سرویس'
]
],
'status' => [
'desable' => [
'id' => 0,
'label' => 'غیر فعال'
],
'active' => [
'id' => 1,
'label' => 'فعال'
]
],
'permissions' => [
// user
'user-user-create',
'user-user-view-any',
'user-user-update-own',
'user-user-update-any',
'user-user-role-own',
'user-user-role-any',
'user-role-create',
'user-role-view-any',
// ticket
'ticket-ticket-create',
'ticket-ticket-view-any',
'ticket-ticket-reply-any',
// post
'post-post-create',
'post-post-view-publish',
'post-post-view-any',
'post-post-view-own',
'post-post-update-own',
'post-post-update-any',
'post-post-delete-own',
'post-post-delete-any',
// tag
'post-tag-update-any',
'post-tag-create',
'post-tag-delete-any',
// taxonomies
'post-taxonomy-view-any',
'post-taxonomy-update-any',
'post-taxonomy-create',
'post-taxonomy-delete-any',
// comments
'post-comment-view-any',
'post-comment-view-published',
'post-comment-view-own',
'post-comment-create',
'post-comment-update-any',
'post-comment-delete-any',
]
];
|