$wgOut->sysopRequired(); need to be rewrote/replaced to show a message saying
that the user is lacking "soandso" right.
Version: unspecified
Severity: enhancement
hashar | |
Oct 24 2004, 2:19 AM |
F1333: 769a.patch | |
Nov 21 2014, 7:00 PM |
$wgOut->sysopRequired(); need to be rewrote/replaced to show a message saying
that the user is lacking "soandso" right.
Version: unspecified
Severity: enhancement
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) | |
Unknown Object (Diffusion Commit) |
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | None | T4422 Access control (tracking) | ||
Resolved | None | T2767 User and group rights management (tracking) | ||
Resolved | None | T2769 OutputPage::permissionRequired() should suggest groups with the needed permission | ||
· · · |
There is $wgOut->permissionRequired() now, though it's not always used.
However the permissions are internal to the code and configuration; they are not
otherwise exposed to users. Knowing which permission is required doesn't necessarily
help know what user groups would provide it. It might be enhanced to display this...
rotemliss wrote:
Added in r15994. Now, the function scans $wgGroupPermissions, finds the group
which has the permission, and shows it. The permissions themselves are hidden.
ayg wrote:
Show all groups, not just one
Why not show all groups instead of just the first encountered? (Patch tested
on local install, appears not to explode.)
Attached: