There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c8ebe520-126d-4eea-baaa-81c3f5bebf45 XWIKI-22509 In Progress

Users with only admin rights on a page (and its children) can't access custom administration sections

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-8e874bab-bab7-4453-ad86-8b2af4e301bc Changes by Thomas Mortagne on 10/Oct/24 17:34
 
Summary: Users with only admin rights on a page (and its children) can't access page custom administration sections that have scope WIKI+ALL_SPACES
 
 

1 comment

 
cid:jira-generated-image-avatar-8e874bab-bab7-4453-ad86-8b2af4e301bc Thomas Mortagne on 10/Oct/24 17:26
 
I debugged Extensions Rights and at least in the case of this one the problem comes from the fact that the admin is [checking if the current user have edit right on XWiki.AdminExtensionRightsSheet|https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-16.8.0/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ConfigurableClass.xml#L109] before allowing to see it.

So it does not have much to do with the scope (it's just that this scope is the only way to have a custom admin listed in the page administration), but to the fact that the Configurable system assumes that all configuration pages are about modifying the configuration page itself...
which never make any sense in the case of something displayed in the page administration.