python:sd_utils: introduce update_aces_in_dacl() helper
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Mar 2023 17:25:18 +0000 (18:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 22 Mar 2023 15:01:32 +0000 (15:01 +0000)
commit8411e6d302e25d10f1035ebbdcbde7308566e930
tree68b11402affb0b3b1e4b4e9fa0e0b7a73299fd26
parent4627997ddae44265ad35b3234232eb74458c6c34
python:sd_utils: introduce update_aces_in_dacl() helper

This is a more generic api that can be re-used in other places
as well in future. It operates on a security descriptor object instead of
SDDL.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/sd_utils.py