|
@@ 2207-2208 (lines=2) @@
|
| 2204 |
|
$capabilities[] = 'pods_add_' . $pod[ 'name' ]; |
| 2205 |
|
$capabilities[] = 'pods_edit_' . $pod[ 'name' ]; |
| 2206 |
|
|
| 2207 |
|
if ( isset( $pod[ 'fields' ][ 'author' ] ) && 'pick' == $pod[ 'fields' ][ 'author' ][ 'type' ] && 'user' == $pod[ 'fields' ][ 'author' ][ 'pick_object' ] ) |
| 2208 |
|
$capabilities[] = 'pods_edit_others_' . $pod[ 'name' ]; |
| 2209 |
|
|
| 2210 |
|
$capabilities[] = 'pods_delete_' . $pod[ 'name' ]; |
| 2211 |
|
|
|
@@ 2212-2213 (lines=2) @@
|
| 2209 |
|
|
| 2210 |
|
$capabilities[] = 'pods_delete_' . $pod[ 'name' ]; |
| 2211 |
|
|
| 2212 |
|
if ( isset( $pod[ 'fields' ][ 'author' ] ) && 'pick' == $pod[ 'fields' ][ 'author' ][ 'type' ] && 'user' == $pod[ 'fields' ][ 'author' ][ 'pick_object' ] ) |
| 2213 |
|
$capabilities[] = 'pods_delete_others_' . $pod[ 'name' ]; |
| 2214 |
|
|
| 2215 |
|
$actions_enabled = pods_var_raw( 'ui_actions_enabled', $pod[ 'options' ] ); |
| 2216 |
|
|