pub struct WriteAction { /* private fields */ }Expand description
The access decision a Write Request action has already taken, and for which path.
§10.6.4.3.1’s way of writing a whole list is “a series of AttributeDataIBs, with the first
containing a path to the list itself and Data that is empty array, which signals clearing
the list, and subsequent AttributeDataIBs containing updates” — every one of them naming the
same attribute. On one attribute that idiom revokes the writer’s own access half-way through:
clearing the ACL list removes the administrator entry the writer is administering with,
so §8.7.3.2 step b.iii fails on the second AttributeDataIB and the node is left with an
empty list and no administrator at all.
So the decision is taken once per concrete path per action, on the first AttributeDataIB that names it, and reused by the rest. This cannot widen anybody’s access: the grant it reuses was checked against the ACL as it stood when the action began, which is the state the client’s request was composed against.