IContextSource needs to have getAuthority(): Authority method. Authority can be constructed lazily from available WebRequest and take required services from global state
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add Authority to Context | mediawiki/core | master | +116 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T218674 User::getRights() applies session rights restrictions to non-session users | |||
| Resolved | None | T180888 All permission checks should be able to return a custom error message | |||
| Open | None | T231930 Introduce Authority objects to represent the user performing a given action | |||
| Resolved | • Pchelolo | T271460 Authority should be available via IContextSource |
Event Timeline
Comment Actions
Change 654956 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Add Authority to Context
Comment Actions
Change 654956 merged by jenkins-bot:
[mediawiki/core@master] Add Authority to Context