-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Dashboard - Dashboards & Gadgets
-
None
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
JIRA supports permission control for gadgets by looking for a "roles-required" param in the gadget definition in atlassian-plugin.xml. This is used, for example, to hide certain gadgets from anonymous users when they look at the dashboard.
For example:
<gadget key="admin-gadget" name="Administration" location="gadgets/admin-gadget.xml"> <param name="roles-required">admin</param> <resource type="download" name="admin-screenshot.png" location="images/admin-screenshot.png"/> <resource type="download" name="admin-thumb.png" location="images/admin-thumb.png"/> </gadget> <gadget key="road-map-gadget" name="Road Map Gadget" location="gadgets/roadmap-gadget.xml"> <param name="roles-required">browse</param> <resource type="download" name="roadmap-screenshot.png" location="images/roadmap-screenshot.png"/> <resource type="download" name="roadmap-thumb.png" location="images/roadmap-thumb.png"/> </gadget>
It looks like the wallboard plugin is trying to render these gadgets for everyone, resulting in an error.
- is related to
-
JRASERVER-43131 When viewing a wallboard as an anonymous user, gadgets that I don't have permission to see display an error
-
- Closed
-