security: deny-by-default allowFrom with wildcard support and startup validation
This commit is contained in:
1 parent
d447be5ca2
commit
bbfc1b40c1
6 files changed
+31
-39
No files matched your search
@@ -171,6 +171,7 @@ class SlackConfig(Base):
|
||||
user_token_read_only: bool = True
|
||||
reply_in_thread: bool = True
|
||||
react_emoji: str = "eyes"
|
||||
allow_from: list[str] = Field(default_factory=list) # Allowed Slack user IDs (sender-level)
|
||||
group_policy: str = "mention" # "mention", "open", "allowlist"
|
||||
group_allow_from: list[str] = Field(default_factory=list) # Allowed channel IDs if allowlist
|
||||
dm: SlackDMConfig = Field(default_factory=SlackDMConfig)
|
||||
|
||||
Reference in new issue
Block a user