mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 13:46:40 +08:00

The guardian is useful for plugins to determine if the callback should do anything. A common use case is to not do anything in the callback if the user is anonymous.