mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 03:55:47 +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.