Before I promote this to a bug or improvement request, I'd like to get your
feedback on my perceived problem.
I'm having some trouble understanding how messages are handles.
I must admit I don't even know where messages are being stored (googling
"messages xwiki" doesn't exactly provide useful results ;)
I expect all messages are stored in one general storage.
Example usage:
1) create space Sandbox2
2) restrict view right for space Sandbox2
3) using SpaceDashboardTemplate, create dashboard for Sandbox2.WebHome
4) post message on this dashboard using the activity gadget, without
changing the "visible to everyone"
Result:
message is not shown on Sandbox2.WebHome dashboard
message is shown on Dashboard.WebHome
User (at least I) would expect the message to be shown:
- on Sandbox2.WebHome dashboard, because it's written there/for this group
- on Dashboard.WebHome only when user has access to space Sandbox2., with
the attribution: "ExampleUser posted the message *in Sandbox2*"
I expect this would change the fundamentals behind the messaging app
because messages would have to be stored in a page in the space they are
written in, so I propose removing the 'post message' block in the activity
stream when called for a space ($aSpace != $util.null)