Make favorites in the favorites application private

It’s already supported AFAIK and we’ve seen several organizations who don’t want to share user profiles and are setting rights on the user profile pages.

See https://snippets.xwiki.org/xwiki/bin/view/Extension/Initialize%20rights%20of%20user%20profiles/ for example.

I also think it’s for yourself (as a first basis), but it doesn’t mean you don’t want others to see them. For ex, there are plenty of apps on the internet that allows you to share your favorite books, your favorite music, etc.

I don’t know how the app is coded but one idea would be that the My Favorites tab in the user profile displays content located in a separate myfavorites page on which users could set rights (a page under the user profile maybe). Then, the my favorites tab would display a message if the current logged in user doesn’t have view rights on that myfavorites page. That would allow to make private just the favorites part and not the full user profile.

Note: There are discussions of where we’d put personal pages (see Personal Pages feature ) and under the user profile is a logical location. But I guess that could still work by having a sublevel.

For ex if you’re viewing the Admin user profile:

  • http://localhost:8080/xwiki/bin/view/XWiki/Admin/Favorites → My favorites
  • http://localhost:8080/xwiki/bin/view/XWiki/Admin/Personal → Personal Pages

Now this is probably overkill, and we just need a configuration parameter in the user profile, displayed in the My Favorites tab, above the favorites list, to decide if favorites are viewable by others or not. And then just have a check in the display of favorites.

WDYT?

Thx