Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1373

Is there an event I can listen to when a document is shared with a user or a group?

$
0
0

Hey team!

Background: I’m very new to XWiki, found it amazing because of it’s extendability and a great plugin ecosystem. I have been given a usecase which involves synchronizing the access of a particular user for a 3rd party hosted document(Google docs for example) which might be mentioned as a link in an XWiki wiki. If a user has an access to that particular wiki, then the links mentioned in that particular wiki should be accessible when a user opens it. We’re going to make it an option rather than a default for security purposes.

Question: Is there a way I can listen to an event which might be triggered when a user shares a particular xwiki document with a group/user?, I’m wondering if a DocumentUpdatedEvent is fired in such a scenario, if yes, would I have to compare the list of users who have access to it from the prior document version and generate a new event? If not, is there an ActionExecutedEvent for such a thing?

Thanks,
Pratik

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1373

Trending Articles