|
Summary: |
Removing Impossible to remove all right are not applied rights from an entity |
Fix Version: |
2.3 |
Description: |
Step to reproduce:
Add some rights
{code} $services.security.rights.saveRules($someRules, $reference) {code}
Clear all rights {code} $services.security.rights.saveRules([], $reference) {code}
Expected result: all right are removed as we pass an empty list
Currently the last call has no effect and all right are keep kept .
Note this is due of a regression of this change: https://github.com/xwiki-contrib/api-rights/commit/0b20e3c6101579a40445330d2741844d6e7b0e34#diff-ac8e48f22cfc07a9dd85f96aeab85a8d00a58fdd6411e70e506154889091acb7R94 |
Resolution: |
Fixed |
Tests: |
Integration |
Status: |
Open Closed |
|