aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Permissions/Authority.php
Commit message (Collapse)AuthorAgeFilesLines
* TempUser infrastructure and servicesTim Starling2022-04-141-0/+23
| | | | | | | | | | | | | | | | | | Add services and utilities for automatic creation of temporary user accounts on page save, in order to avoid exposing the user's IP address. * Add $wgAutoCreateTempUser, for configuring the system * Add TempUserConfig service, which interprets the config. * Add TempUserCreator service, which creates users during page save as requested by EditPage. With proxy methods to TempUserConfig for convenience. * Add table user_autocreate_serial. Table creation is necessary before the feature is enabled but is not necessary before deployment of this commit. Bug: T300263 Change-Id: Ib14a352490fc42039106523118e8d021844e3dfb
* Authority: expose user block infodaniel2021-06-301-0/+25
| | | | | | | | | Expose info about user blocks from Authority. This allows calling code to provide more detailed information to the user about why they are denied some action on the wiki. Bug: T271494 Change-Id: Ia84e469888866d72752aad355292666c31e12bad
* Remove unstable marker from Authority interfacedaniel2021-04-131-1/+6
| | | | | | | NOTE: this should be backported to 1.36 before the RC0 release! Bug: T275768 Change-Id: I86c1f6e497dcda820944be5adfd80aed7b9c63bb
* Rename Authority::getPerformer() to ::getUser()Petr Pchelko2021-03-041-1/+1
| | | | | | | We started to call Authority argument $performer everywhere, and $performer->getPerformer() doesn't look that good. Change-Id: Id2cf3f27b18340314e4ed1ea9931ad9404b4df6f
* Rename Authority::getActor to Authority::getPerformerPetr Pchelko2021-02-221-3/+3
| | | | | Bug: T274947 Change-Id: I8f652816af00bf9fa413ba4b1fa7ac4c27290dc2
* Introduce Authority interfacedaniel2021-01-151-0/+155
This introduces the Authority interface and an implementation of basic functionality. This serves as a basis for spike exploring the concept. Bug: T261963 Change-Id: Idd4e8bd934f191296eada443450bc69500102937