There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4b27457a-46ac-4557-8236-0259b798f28f XWIKI-22509 In Progress

Users with admin rights on a page (and its children) can't access page administration sections that have scope WIKI+ALL_SPACES

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-262ad864-0908-467f-9684-4787650988a8 Thomas Mortagne on 10/Oct/24 17:15
 

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 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...

 
cid:jira-generated-image-avatar-262ad864-0908-467f-9684-4787650988a8 Thomas Mortagne on 10/Oct/24 17:17
 
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...