This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-79fe4f1c-3bb6-4fd7-8568-45e65652a0e3 XWIKI-22817 Open

Dashboards of users without script right have translation calls in gadget titles

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1defc449-bd01-4948-b374-a0164d5bb412 Michael Hamann created this issue on 24/Jan/25 17:14
 
Summary: Dashboards of users without script right have translation calls in gadget titles
Issue Type: cid:jira-generated-image-avatar-79fe4f1c-3bb6-4fd7-8568-45e65652a0e3 Bug
Affects Versions: 12.10.3, 12.6.7, 13.0
Assignee: Unassigned
Attachments: image-2025-01-24-17-11-38-614.png, image-2025-01-24-17-13-11-562.png
Components: Dashboard
Created: 24/Jan/25 17:14
Priority: cid:jira-generated-image-static-major-e4e68813-2413-4245-aa29-15dbc9d5793c Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. As a user without script right, add a gadget in the "My dashboard" section of the user profile (like a "Page Tree").
  2. Save the user profile.

Expected result:

The gadget's title is shown as "Page Tree".

_thumb_43122.png

Actual result:

The gadget's title is shown as "$services.localization.render('rendering.macro.documentTree.name')".

_thumb_43121.png

This is because the user doesn't have script right and as XWIKI-17794 has been fixed, users without script right cannot execute scripts in gadget titles anymore.

 
 

1 update

 
cid:jira-generated-image-avatar-1defc449-bd01-4948-b374-a0164d5bb412 Changes by Michael Hamann on 24/Jan/25 17:16
 
Description: *Steps to reproduce:*

# As a user without script right, add a gadget in the "My dashboard" section of the user profile (like a "Page Tree").
# Save the user profile.

*Expected result:*

The gadget's title is shown as "Page Tree".

!image-2025-01-24-17-11-38-614.png|thumbnail!

*Actual result:*

The gadget's title is shown as "$services.localization.render('rendering.macro.documentTree.name')".

!image-2025-01-24-17-13-11-562.png|thumbnail!

This is because the user doesn't have script right and as XWIKI-17794 has been fixed, users without script right cannot execute scripts in gadget titles anymore.
While this is expected, it is not good that the gadget titles aren't displayed anymore.