Skip to content

Can I add some actions on event "user changed role" ? #2632

Answered by drbyte
PetroZaburko asked this question in Q&A
Discussion options

You must be logged in to vote

We've opted not to register a lot of events in this package.
In a lot of cases where you control the calls to this package's methods you can add your own event firing or activity logging, etc.
(Obviously if you're using a package that wraps itself around ours, then you may have less control there, but often you'll find events available there that you can fire instead.)

Someone has suggested an approach to overriding some methods in order to fire some events; you can see their post at #754 (comment) ... just be mindful that it relates to an older version of this package so you may have to adjust accordingly.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@PetroZaburko
Comment options

Answer selected by PetroZaburko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants