https://bugzilla.wikimedia.org/show_bug.cgi?id=29028

Casey Brown <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Casey Brown <[email protected]> 2011-05-18 02:47:28 UTC 
---
(In reply to comment #0)
> So, I was wondering if it would be possible to define "parts" of the gadgets
> which would be loaded or not depending on whether the user has a specific 
> right
> or not. This way, if a user is able to "patrol" but not to "delete", it could
> still use the script, although only the parts which are usable without the
> missing rights.

I'm not a JS expert, but I would think you could already do this inside the
actual script.  The gadget could should be able to pull the "wgUserGroups":
["sysop", "*", "user", "autoconfirmed"] that shows up on all sysop's page
loads... or they could just pull something from the API if that doesn't work.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to