UPDATE: Narrowing this a bit. I need to, for either (a) all nodes of a given type or (b) all nodes on a specified list of node id's or (c) all users on a list of iser id's, clear the cached permissions because, due to changes not necessarily made on a given node, a user's access permission may have changed.
I have built and published a module (Access by Reference) that grants update access to nodes based on edit permissions on nodes referenced in the target node.
I am concerned that the module will not work as intended if permissions cache interferes with recognizing changes made elsewhere (eg, rights to the referenced node are changed)
What I would like to do is clear permissions caches relating to particular nodes and/or particular users or roles. I've been studying the Cache Contexts for several days but the light bulb has not yet lit. I'd appreciate some guidance.