| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | 'display_name' => esc_html__( 'Team Member', 'booktics' ), |
| 44 | 44 | 'capabilities' => array( |
| 45 | 45 | 'read' => true, |
| 46 | 46 | 'delete_posts' => true, |
| 47 | - 'delete_published_posts' => true, | |
| 47 | + // 'delete_published_posts' => true, | |
| 48 | 48 | 'edit_posts' => true, |
| 49 | 49 | 'publish_posts' => true, |
| 50 | 50 | 'upload_files' => true, |
| 51 | 51 | 'edit_pages' => true, |
| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | 'upload_files' => true, |
| 51 | 51 | 'edit_pages' => true, |
| 52 | 52 | 'edit_published_pages' => true, |
| 53 | 53 | 'publish_pages' => true, |
| 54 | - 'delete_published_pages' => false, | |
| 54 | + // 'delete_published_pages' => true, | |
| 55 | 55 | 'read_booking' => true, |
| 56 | 56 | 'read_meeting' => true, |
| 57 | 57 | 'edit_profile' => true, |
| 58 | 58 | 'manage_options' => true, |
| @@ -60,11 +60,12 @@ | ||
| 60 | 60 | ), |
| 61 | 61 | ), |
| 62 | 62 | array( |
| 63 | 63 | 'name' => 'booktics_customer', |
| 64 | - 'display_name' => esc_html__( 'Customer', 'booktics' ), | |
| 64 | + 'display_name' => esc_html__( 'Booktics Customer', 'booktics' ), | |
| 65 | 65 | 'capabilities' => array( |
| 66 | - 'read' => true, | |
| 66 | + 'read' => true, | |
| 67 | + 'edit_profile' => true, | |
| 67 | 68 | ), |
| 68 | 69 | ), |
| 69 | 70 | ); |
| 70 | 71 | |