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