Last modified: 2014-08-15 20:13:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36856, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34856 - Since 1.17, you can't override page permission errors by a hook
Since 1.17, you can't override page permission errors by a hook
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-01 16:42 UTC by Vitaliy Filippov
Modified: 2014-08-15 20:13 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Vitaliy Filippov 2012-03-01 16:42:12 UTC
In 1.16 you could set a getUserPermissionErrors or userCan hook, return 'false' from it and allow the access to an otherwise protected page.
We used it to allow users customising MediaWiki:Edittools on a personal base, i.e. MediaWiki:Edittools@UserName.
In 1.17 these parts of code were refactored and now, 'false' from these hooks doesn't mean "stop processing rights", but does mean only "stop processing right hooks". And you can't allow some action on an otherwise protected page anymore.
This is not convenient :(

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links