Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
6
-
Severity 3 - Minor
-
Description
Summary
Part of the Share Link blueprint is a bookmarklet that links the user to /wiki/plugins/sharelinksbookmarklet/bookmarklet.action?bookmarkedURL=<URL-encoded URL>. If all the spaces the Confluence user has access to are marked as favorite, instead of seeing the "Share a Link" page they'll see an error saying "You are not allowed to share on this Confluence".
Steps to reproduce
- Give a user access to one single space in Confluence
- This happens with multiple spaces as well, as long as they are all marked as favorite in step 3
- Log in as that user
- Add the space as a favourite
- Go the Share a Link URL above (/wiki/plugins/sharelinksbookmarklet/bookmarklet.action?bookmarkedURL=<URL-encoded URL>).
Notes
This seems to be caused by favourite spaces being explicitly removed from the list of spaces that the Share a Link dialog checks against, in BookmarkletAction.java:
// favourite spaces shouldn't appear in the global list as
globalSpaces.removeAll(favouriteSpaces);
The comment there isn't cut off by me, that's what it says in the source itself.
Workaround
Either give this user access to another space not marked as favorite or 'unfavorite' the space.