semapps
semapps copied to clipboard
When deleting a user, delete the associated ACL rights
This should be done via the WebAclMiddleware, but for the moment this middleware passes through webid.create to add user rights to the creation.
For the SPARQL query, we can take inspiration from this one: https://github.com/assemblee-virtuelle/semapps/blob/next/src/middleware/packages/migration/service.js#L117
If one day you program an action to delete a user profile, after deleting the user resource, please also call the removeAgentGroupOrAgentFromAuthorizations method, with a isGroup=false parameter.
duplicate of #980