https://bugzilla.wikimedia.org/show_bug.cgi?id=29028
--- Comment #5 from mybugs.m...@gmail.com 2011-05-21 16:37:13 UTC --- (In reply to comment #4) > The gadget author / administrator should put the minimal rights (if any) in > the > manifest on Gadgets-definition's [rights] block. Any conditional parts can be > executed or loaded within the gadget based on the current logged-in user's > rights (api meta=userinfo) or group member ships (wgUserGroups) But in that case, if the user doesn't have any of the rights the gadget would not be removed from [[Special:Preferences]] as it should. The description of the "rights" parameter at gadget documentation is this: "Makes the gadget visible in preferences only to users who have these privileges." It is implicit that this is about "users who have ALL these privileges" but the bug is a request to be able to indicate that a user is allowed to see the gadget if he has "AT LEAST ONE OF these privileges" and comment #4 doesn't seems to be a solution for this. Besides, would that load the conditional js pages combined in a single request as happens for parts indicated in * myGadget[ResourceLoader]|part1.js|part2.js|part3.js ? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l