> On 27 Jul 2016, at 17:33, Alina Kupgisch <alina.kupgi...@sourcepark.de> wrote: > > Hi Marius, > > that works and was easy to realize, thanks! And thanks for your description > as well. I now understand why this is happening. > > Vincent also wrote that this behavior is quite normal, but it could be a bit > more user friendly...in my opinion. It would be nice if normal users where > not permitted to edit the page or if they get a warning that the page will be > saved with wrong permissions.
I agree. The issue is that we can’t guess is some APIs require Programming Rights for example (or Admin Rights). However what we’ve done for this is introduce a manual xobject to specify what permission is required for a given page. What we could do is associate a custom edit sheet with that xclass and display a warning if the current users doesn’t have the required permission. Or we could simply modify the default edit sheet to display this information in a panel in the same way as we list included pages in edit mode (in a more visible way). @Devs: WDYT? We have such an xobject for PR right now but I guess we could generalize it for all permissions. Thanks -Vincent > Best regards > Alina > > > > Am 27.07.2016 um 13:28 schrieb Marius Dumitru Florea: >> Hi Alina, >> >> On Wed, Jul 27, 2016 at 2:09 PM, Alina Kupgisch < >> alina.kupgi...@sourcepark.de> wrote: >> >>> Hi Xwiki Team, >>> >>> it seems as if there is a small bug in the "Menu Application"extension >>> (version 8.2). Every time a user, that is not in the XWikiAdminGroup, does >>> some changes on the menu page in edit mode, the menu crashes and is no >>> longer visible. To fix that an admin user of XWikiAdminGroup has to edit >>> and save the page. It is important that a small change has to be done by >>> the admin user. >>> >> This behavior is normal. The menu has a property named "Menu Visibility >> Scope" with 3 possible values. The "Current Wiki" value requires the menu >> to be saved by someone that has wiki administration rights, because the >> menu is visible everywhere on the wiki. You don't want a simple user to add >> a new menu that is visible for everyone. >> >> You may want to try the following: >> >> * put the content of the menu page in a separate page >> * give edit rights for this separate page to the simple users that are >> allowed to modify the menu >> * use the include macro to include the separate page in the menu page. Do >> this with someone that has administration rights so that the menu page is >> saved with the proper rights. >> >> Hope this helps, >> Marius >> >> >>> >>> Best regards >>> >>> Alina _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users