|
@@ 4177-4178 (lines=2) @@
|
| 4174 |
|
$restricted = false; |
| 4175 |
|
elseif ( !in_array( 'delete', $this->actions_disabled ) && current_user_can( 'pods_delete_' . $this->pod->pod ) && current_user_can( 'pods_delete_others_' . $this->pod->pod ) ) |
| 4176 |
|
$restricted = false; |
| 4177 |
|
elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) |
| 4178 |
|
$restricted = false; |
| 4179 |
|
} |
| 4180 |
|
elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) |
| 4181 |
|
$restricted = false; |
|
@@ 4180-4181 (lines=2) @@
|
| 4177 |
|
elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) |
| 4178 |
|
$restricted = false; |
| 4179 |
|
} |
| 4180 |
|
elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) |
| 4181 |
|
$restricted = false; |
| 4182 |
|
} |
| 4183 |
|
/* @todo determine proper logic for non-pods capabilities |
| 4184 |
|
else { |