Skip to content

Commit

Permalink
allow dt_admin to edit_others_posts so they can edit any webform (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
cairocoder01 authored May 7, 2024
1 parent c3b92f3 commit 382a961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/post-type-active-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public function register_post_type() {
'publicly_queryable' => false,
'capabilities' => [
'edit_post' => 'manage_dt',
'edit_others_posts' => 'manage_dt',
'delete_post' => 'manage_dt'
],
'capability_type' => 'post',
Expand Down

0 comments on commit 382a961

Please sign in to comment.