-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3
-
Severity 3 - Minor
Issue Summary
While it is possible to display pages with a chosen label in the page by using the Content by Label macro, for example, it won't display the links for the pages for users with a Confluence license that does not have direct space permissions granted through a group or individual permissions.
This is an expected behavior to happen if the user does not have space permission to view the space, however, in this specific scenario, the space is open to any active user to see the space (through the JSM integration), and the labels are from the same space.
It is not possible to see results for Content by Label both in Confluence and in the JSM article.
Steps to Reproduce
- Create a space
- Create a JSM project
- In JSM, go to project settings > knowledge base and click on Link Space
- Upon linking the created space in Confluence, go back to Confluence and create a page
- Add a Content by Label macro to the page and add a label to display results: e.g: batman
- Create a second page and add the label, e.g: batman
- Create a test user with licensed permissions to JSM (agent) and Confluence (e.g: confluence-user)
- Go to Space Settings > Space Permissions and confirm the Any active user (padlock icon) is there
- Make sure to not add the group confluence-user group to this space (Or remove it if it was added automatically)
- Make sure to not grant individual permissions for the user to this space
- Check the page in Confluence and in the KB article link (JSM project > Knwoledge base> Articles)
Expected Results
Since the space is open to any active user to see it, the expectation is for the user to see results for search-related labels macros.
Actual Results
It is displayed the message "there is no content with the specified labels" until space permissions are granted "view" to the group this user is part of, for Confluence, if the user is licensed.
If we make the user unlicensed to Confluence, it works in JSM only and returns an error message in Confluence.
Workaround
Grant "view" space permissions for the user as an individual user or to the group, if the space is open to any active user, and the user is a Confluence licensed user.
Unlicensed users should be able to see the results as expected in JSM knowledge base article URL.