|
@@ 149-155 (lines=7) @@
|
| 146 |
|
$this->convertPropertiesToQueryArray($properties), |
| 147 |
|
$this->convertPolicyIdArrayToQueryArray($policies) |
| 148 |
|
); |
| 149 |
|
if (!empty($removeAces)) { |
| 150 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 151 |
|
$removeAces, |
| 152 |
|
Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
| 153 |
|
Constants::CONTROL_REMOVE_ACE_PERMISSION |
| 154 |
|
)); |
| 155 |
|
} |
| 156 |
|
if (!empty($addAces)) { |
| 157 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 158 |
|
$addAces, |
|
@@ 156-162 (lines=7) @@
|
| 153 |
|
Constants::CONTROL_REMOVE_ACE_PERMISSION |
| 154 |
|
)); |
| 155 |
|
} |
| 156 |
|
if (!empty($addAces)) { |
| 157 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 158 |
|
$addAces, |
| 159 |
|
Constants::CONTROL_ADD_ACE_PRINCIPAL, |
| 160 |
|
Constants::CONTROL_ADD_ACE_PERMISSION |
| 161 |
|
)); |
| 162 |
|
} |
| 163 |
|
if ($versioningState !== null) { |
| 164 |
|
$queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState; |
| 165 |
|
} |
|
@@ 222-228 (lines=7) @@
|
| 219 |
|
$this->convertPropertiesToQueryArray($properties), |
| 220 |
|
$this->convertPolicyIdArrayToQueryArray($policies) |
| 221 |
|
); |
| 222 |
|
if (!empty($removeAces)) { |
| 223 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 224 |
|
$removeAces, |
| 225 |
|
Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
| 226 |
|
Constants::CONTROL_REMOVE_ACE_PERMISSION |
| 227 |
|
)); |
| 228 |
|
} |
| 229 |
|
if (!empty($addAces)) { |
| 230 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 231 |
|
$addAces, |
|
@@ 229-235 (lines=7) @@
|
| 226 |
|
Constants::CONTROL_REMOVE_ACE_PERMISSION |
| 227 |
|
)); |
| 228 |
|
} |
| 229 |
|
if (!empty($addAces)) { |
| 230 |
|
$queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
| 231 |
|
$addAces, |
| 232 |
|
Constants::CONTROL_ADD_ACE_PRINCIPAL, |
| 233 |
|
Constants::CONTROL_ADD_ACE_PERMISSION |
| 234 |
|
)); |
| 235 |
|
} |
| 236 |
|
if ($versioningState !== null) { |
| 237 |
|
$queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState; |
| 238 |
|
} |