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

--- Comment #3 from Bawolff <bawolff...@gmail.com> 2011-01-13 03:17:28 UTC ---
While first of all you should be using quickUserCan('create') not
quickUserCan('createtalk'). (The permission is called createtalk, but you're
checking if the user can create not that they can createtalk)

Secondly, it is expected you check both edit and create, not just create.
neither userCan( 'create' ) nor quickUserCan( 'create' ) check if you can edit,
only if you can create the page. Arguably thats a little counter-intuitive, but
thats the way it currently is.

For reference to anyone else reading this, the relevant edit that i reverted
was
http://www.mediawiki.org/w/index.php?title=Manual:Preventing_access&diff=prev&oldid=375514

-- 
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