Repository navigation
Commit b65f116
committed
fix(providers): make the Slack profile read-only and align its docs
Slack's read methods accept GET with query-string arguments, and the
token travels in the injected authorization header rather than as a
query parameter, so the read-only method preset covers reads. Grant
read-only access in the built-in profile and state that write methods
such as chat.postMessage need an explicit rule or a read-write copy.
Drop the incorrect claim that Slack reads require POST. Describe where
the Slack error name surfaces (the provider_error_subtype field of the
refresh status API, echoed in LAST_ERROR).
Mirrors the follow-up on the upstream submission (ai-openshell#3730).
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>1 parent d7bd4bb commit b65f116
2 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
0 commit comments