This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-4cba76c7-fb2f-448b-ae0c-67868fc42268 XWIKI-22815 Open

Variable $isSuperAdmin is not computed correctly on subwikis

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-82bcfc2e-9707-46c2-ab65-a9e7b306e64b slauriere created this issue on 24/Jan/25 15:30
 
Summary: Variable $isSuperAdmin is not computed correctly on subwikis
Issue Type: cid:jira-generated-image-avatar-4cba76c7-fb2f-448b-ae0c-67868fc42268 Bug
Affects Versions: 16.4.6
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 24/Jan/25 15:30
Priority: cid:jira-generated-image-static-major-3d3b1a32-f09f-42bb-90af-3a969743622a Major
Reporter: slauriere
Description:

Steps to reproduce

  • Log in as superadmin
  • Create subwiki
  • Display the value of variable $isSuperAdmin in a Velocity script in the subwiki

Result

The value of variable $isSuperAdmin is false while it should be true.