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

--- Comment #5 from MZMcBride <b...@mzmcbride.com> 2010-09-01 02:43:57 UTC ---
(In reply to comment #4)
> How much bigger? $wgGroupPermission doesn't have any intrinsec limit.

Reasonably bigger. It's currently varbinary(16). If you made it varbinary(50),
I think that would cover nearly all cases. It looks like CentralAuth's
global_user_group table uses varchar(255) for the gug_group column. I'm not
sure you need to increase the size that much, but it's worth considering, I
suppose.

If someone sets $wgGroupPermissions to something unreasonably long, they should
expect breakage. I don't think there's a real need for warnings and validity
checks here; I think all that's needed here is a reasonably larger size limit
for the ug_group column and some common sense.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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

Reply via email to