Commit e361933
committed
fix: remove chat:write.public scope for better security
Changed botScopes from ["commands", "chat:write", "chat:write.public"] to
["commands", "chat:write"] to remove the overly broad public permission.
The chat:write.public scope allows bots to write to channels they're not
members of, which is unnecessarily permissive. Using just chat:write
provides better security and privacy while maintaining necessary functionality.
Updated:
- Test data manifests (manifest-sdk.ts, manifest-sdk-app-name.ts)
- Documentation example
- Test expectations in strings_test.go1 parent 37106f5 commit e361933
File tree
4 files changed
+5
-5
lines changed- docs/guides
- internal/goutils
- test/testdata
4 files changed
+5
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
| 329 | + | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
0 commit comments