This issue has been created
There is 1 update.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-35d3f837-2af8-4a00-a154-1e9b670c7920 LLMAI-214 Open

Admin-right checks on configuration pages use the deprecated `XWikiDocument.getAuthorReference()`

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1444340c-acb1-49cd-83b7-0f538121ff94 Paul Pantiru created this issue on 16/Oct/26 09:15
 
Summary: Admin-right checks on configuration pages use the deprecated `XWikiDocument.getAuthorReference()`
Issue Type: cid:jira-generated-image-avatar-35d3f837-2af8-4a00-a154-1e9b670c7920 Improvement
Affects Versions: 0.10
Assignee: Unassigned
Created: 16/Oct/26 09:15
Priority: cid:jira-generated-image-static-minor-8ccbe984-ab70-4eff-ad52-cfd3e91b7a8b Minor
Reporter: Paul Pantiru
Description:

Three gates decide whether a configuration object is applied by checking admin right on the page author: GPTAPIServerWikiObjectComponentBuilder (about line 113), ModelWikiObjectComponentBuilder (about line 178) and AuthorizedApplicationManager (about line 124, the JWT authorized-applications store). All three read XWikiDocument.getAuthorReference(), deprecated since platform 14.0RC1, while the same model builder reads getAuthors().getEffectiveMetadataAuthor() elsewhere. Today both accessors resolve to the same user, so there is no bypass; under the authors model the effective metadata author is the identity the platform's own trust checks use (UI extensions, wiki components, the Administration app), and the two can diverge once the platform stops mirroring one into the other. LLMAI-199 introduced MCPConfigPageAuthorship.authorOf for exactly this question on the MCP side.

Expected / proposal: Read the effective metadata author through DocumentAuthors and convert it with the UserReference to DocumentReference serializer, as MCPConfigPageAuthorship does; one small shared helper or three local changes.

 
 

1 update

 
cid:jira-generated-image-avatar-1444340c-acb1-49cd-83b7-0f538121ff94 Changes by Paul Pantiru on 16/Oct/26 09:16
 
Assignee: Paul Pantiru