semapps icon indicating copy to clipboard operation
semapps copied to clipboard

When deleting a user, delete the associated ACL rights

Open srosset81 opened this issue 3 years ago • 2 comments

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

srosset81 avatar May 31 '22 13:05 srosset81

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.

nikoPLP avatar Jun 29 '22 11:06 nikoPLP

duplicate of #980

nikoPLP avatar Jun 29 '22 11:06 nikoPLP