Closed srosset81 closed 1 month ago
This is done by the WebAclMiddleware whenerver ldp.remote.store
is called:
This shouldn't be necessary in a Pod provider config, since the Pod owner is allowed to view all resources.
We should try to disable it in Pod provider config, and see if it breaks something.
What may also not be necessary, is that cached activities (for example activities received in the inbox) also have read permissions for all users the activity has been sent to.
This allows users reading someone else's inbox to see all activities which were sent to them also... but could we do without this ?
In the end, it seems that all these permissions make sense. The fact the Pod owner has full permissions on the Pod doesn't mean we shouldn't add other permissions. Especially in the future when we will deal with CODs...
I've noticed that on v1.5 pod providers, remote WAC permissions are stored on the local WAC graph.
For example, when
https://armoise.co/sro
give read permissions tohttps://armoise.co/vicgarou
, this appears on the WAC graph ofhttps://armoise.co/vicgarou
:We should ensure this doesn't happen anymore on v2 pod providers, and we should clean up all these useless triples.