wiki.techinc.nl/includes/session
Siddharth VP ce6bd364b9 Allow setting page restrictions on BotPassword grants
Helps bot operators adhere to the principle of least privileges.

Grants can now be restricted to allow editing (and other write
operations) for upto 25 listed pages. The page IDs are persisted within
the bp_restrictions field of bot_passwords table, and in the session
metadata.

This restriction is checked only as part of expensive checks in
PermissionManager, since they are not applicable for UI actions.

Bug: T349957
Change-Id: I3d228eb97664d040a160c5b742d9176fdfae9a43
2023-12-05 14:51:06 +05:30
..
Hook
BotPasswordSessionProvider.php Allow setting page restrictions on BotPassword grants 2023-12-05 14:51:06 +05:30
CookieSessionProvider.php
CsrfTokenSet.php Namespace remaining User-related classes under \MediaWiki\User 2023-09-20 09:12:08 +01:00
CsrfTokenSetProvider.php
ImmutableSessionProviderWithCookie.php
MetadataMergeException.php
PHPSessionHandler.php
Session.php Allow setting page restrictions on BotPassword grants 2023-12-05 14:51:06 +05:30
SessionBackend.php Allow setting page restrictions on BotPassword grants 2023-12-05 14:51:06 +05:30
SessionId.php
SessionInfo.php
SessionManager.php Namespace Config-related classes under \MediaWiki\Config 2023-09-21 05:41:58 +00:00
SessionManagerInterface.php
SessionOverflowException.php
SessionProvider.php Allow setting page restrictions on BotPassword grants 2023-12-05 14:51:06 +05:30
SessionProviderInterface.php
Token.php
UserInfo.php