libcli/security: resource attribute claims use claim_v1_check_and_sort()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 15 Nov 2023 03:51:19 +0000 (16:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Nov 2023 22:37:32 +0000 (22:37 +0000)
commit843fd4d15f7bba28e517e6d5b7b922a834f72565
treeee337ca0f01d8faea32f5f4682b6f5ff396bcb8d
parent8074257c3ae04f3a3c6a5e546d3c8267e1b2d05b
libcli/security: resource attribute claims use claim_v1_check_and_sort()

Because RA ACEs live a double life, sometimes being ACEs and sometimes
being claims, we make a copy of the claim strucutre for sorting and
further use in conditional ACEs.

We don't need to do that for wire claims, because they are not
persistent or forwarded on to somewhere else.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/claims-conversions.c