Open bot37 opened 2 months ago
The stages these policies are applied to are usually used for multiple sources.
Returning false would result in other sources not working for any stage having this expression policy bound. Returning true will "skip" this policy for non-discord related sources.
goauthentik/authentik/blob/main/website/docs/sources/discord/index.md
Hello! This line in the documentation seems counter-intuitive. Why does it return
True
instead ofFalse
? Thanks!if context['source'].provider_type != "discord": return True