Skip to main content

is_explicitly_allowed

Method
This is a method of the BotConfig class in the config module.
Whether a user is explicitly allow-listed. Unlike :meth:is_user_allowed, an empty allowed_users returns False here — the inbound pipeline then defers to unknown_user_policy. This is the check the security pipeline should use to decide whether to bypass the unknown-user handler.

Signature

Parameters

str
required
No description available.

Returns

bool
The result of the operation.

Source

View on GitHub

praisonaiagents/bots/config.py at line 205