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

Roan Kattouw <roan.katt...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|VisualEditor: Stop user     |VisualEditor: Don't offer
                   |from editing when page      |Edit button when user
                   |protected (and inform       |cannot edit page
                   |sysops/etc. when editing    |
                   |through protection)         |

--- Comment #1 from Roan Kattouw <roan.katt...@gmail.com> 2012-11-17 01:25:36 
UTC ---
We should be able to detect in JS whether the user has the edit permission for
this page. One way we can detect this is by checking whether the user gets an
edit tab or a view source tab.

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

Reply via email to