public function prepareSentryPermissionInput(array &$input, $operation, $field_name = "permissions") {
    $input[$field_name] = isset($input[$field_name]) ? [$input[$field_name] => $operation] : '';
  }
public function prepareSentryPermissionInput(array &$input, $operation, $field_name = "permissions") {
    $input[$field_name] = isset($input[$field_name]) ? [$input[$field_name] => $operation] : '';
  }
public function prepareSentryPermissionInput ( array & $ input , $ operation , $ field_name = "permissions" ) { $ input [ $ field_name ] = isset ( $ input [ $ field_name ] ) ? [ $ input [ $ field_name ] => $ operation ] : '' ; }
Prepares permission for sentry given the input

@param array $input
@param       $operation
@param       $field_name
@return void
Prepares permission for sentry given the input