Skip to content

Commit e342ad4

Browse files
committed
Move permissions example inline into JWT troubleshooting table
Embed the correct-permissions-shape JSON directly in the table cell (as the last row) instead of an orphaned collapsible block between sections. Uses a| for AsciiDoc block content in the cell.
1 parent 2f82631 commit e342ad4

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

modules/ROOT/pages/tinymceai-on-premises-troubleshooting.adoc

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,14 @@ These assume the container is running and `/health` returns OK.
9292
|Token signed with RS256 instead of HS256
9393
|Re-sign with `algorithm: 'HS256'` and the API Secret. See xref:tinymceai-on-premises-jwt.adoc[JWT authentication].
9494

95-
|`allowed: false` on every endpoint
96-
|`auth.ai.permissions` is a string, shorthand, or wrong shape
97-
|Use the explicit array form. See the <<correct-permissions-shape,correct shape>> below.
98-
9995
|`409 conversation in use` then `404 conversation does not exist`
10096
|Stream abort left temporary state blocking the conversation
10197
|Start a new conversation or reload the page. Custom UIs should create a fresh conversation after cancel.
102-
|===
10398

104-
[[correct-permissions-shape]]
105-
.Correct permissions shape
106-
[%collapsible]
107-
====
99+
|`allowed: false` on every endpoint
100+
|`auth.ai.permissions` is a string, shorthand, or wrong shape
101+
a|Use the explicit array form:
102+
108103
[source,json]
109104
----
110105
{
@@ -121,8 +116,8 @@ These assume the container is running and `/health` returns OK.
121116
}
122117
----
123118

124-
Common mistakes that produce `allowed: false`: `"permissions": "ai:admin"` (string shorthand), `"permissions": "*"`, `"useAllFeatures": true`, or a single permission as a string instead of an array. See xref:tinymceai-on-premises-jwt.adoc[JWT authentication] for the full permission catalog.
125-
====
119+
Common mistakes: `"permissions": "ai:admin"` (string shorthand), `"permissions": "*"`, `"useAllFeatures": true`, or a single permission as a string instead of an array. See xref:tinymceai-on-premises-jwt.adoc[JWT authentication] for the full permission catalog.
120+
|===
126121

127122

128123
[[llm-provider-errors]]

0 commit comments

Comments
 (0)