Commit graph

2472 commits

Author SHA1 Message Date
Translation updater bot 8fd76d2332
Localisation updates from https://translatewiki.net.
Change-Id: I4bd616bc4c83f337c211d21911bd6090003ae1f9
2024-09-16 09:24:30 +02:00
jenkins-bot 2ef2257922 Merge "Log changes to protected variables access" 2024-09-13 12:49:19 +00:00
jenkins-bot 4f272aeb02 Merge "Add preference for viewing protected variables in AbuseFilter" 2024-09-13 12:27:36 +00:00
STran cbfaaa591d Log changes to protected variables access
Similar to how CheckUser logs access to IP information about temporary
accounts, AbuseFilter needs to log whenever protected variables are
accessed.

- Implement ProtectedVarsAccessLogger which handles access logging
- Log whenever a user changes their ability to access protected
  variables via Special:Preferences

Bug: T371798
Change-Id: Ic7024d9c5f369eb33c4198a59638de9a1d58b04b
2024-09-13 01:39:09 -07:00
STran bd819b98a2 Add preference for viewing protected variables in AbuseFilter
Users need to enable a preference before gaining access to the IPs
from `user_unnamed_ip`, a protected variable.

- Add a preference that the user can check to toggle their access
- Check for the preference and the view right for logs that reveal
  protected variables on:
  + AbuseFilterViewExamine
  + SpecialAbuseLog
  + QueryAbuseLog

Bug: T371798
Change-Id: I5363380d999118982b216585ea73ee4274a6eac1
2024-09-12 07:59:24 -07:00
Translation updater bot db83369b76
Localisation updates from https://translatewiki.net.
Change-Id: Ia93dfb0609ba11b8e104f5ddeb84e756cb175555
2024-09-10 09:27:58 +02:00
Translation updater bot 1109691adc
Localisation updates from https://translatewiki.net.
Change-Id: I65c16f2cb739a4bd69467cf11421db5d32780008
2024-09-09 09:21:48 +02:00
Translation updater bot 6c4364688d
Localisation updates from https://translatewiki.net.
Change-Id: I10e3efd76ea3b882d7409bf676400631763e49f2
2024-09-05 09:21:38 +02:00
Translation updater bot 98e0d56cb2
Localisation updates from https://translatewiki.net.
Change-Id: I3a1ea7085072f21f331dc908b121b1e3455c0305
2024-09-04 09:15:49 +02:00
Translation updater bot b4c32f4757
Localisation updates from https://translatewiki.net.
Change-Id: I7da53722156626ac32f2da20890d210e3737a3cd
2024-09-02 09:19:57 +02:00
Translation updater bot ccb5faf096
Localisation updates from https://translatewiki.net.
Change-Id: I6c95dadb2bfb316b078acc694d44d0ee9a52fd7e
2024-08-30 09:19:27 +02:00
Translation updater bot 35a479117f
Localisation updates from https://translatewiki.net.
Change-Id: I461ca3136848f5f2d0489c4eb361e610eaa02fcc
2024-08-29 09:17:08 +02:00
Translation updater bot 8a8da638d3
Localisation updates from https://translatewiki.net.
Change-Id: Ief9e8cee08eb09bb9d3aea036dd382dc9a79d322
2024-08-28 09:36:23 +02:00
Translation updater bot 07ed4eab2d
Localisation updates from https://translatewiki.net.
Change-Id: I13109ddba997422622635432d41e431e5bb1bc23
2024-08-27 09:46:40 +02:00
Translation updater bot f4511f7c2e
Localisation updates from https://translatewiki.net.
Change-Id: I03005ac6897457ef5939d0f80c00b6e53dfbf6c5
2024-08-26 09:21:12 +02:00
Translation updater bot 86d4fed611
Localisation updates from https://translatewiki.net.
Change-Id: I48c176b418b68f03165d418e71788e9484c08931
2024-08-22 09:21:19 +02:00
Translation updater bot f65ed2b7a1
Localisation updates from https://translatewiki.net.
Change-Id: I85791770e79b28a51a1ab7fb443843ec191c30f5
2024-08-21 09:22:25 +02:00
Translation updater bot 59cba70091
Localisation updates from https://translatewiki.net.
Change-Id: I3caa780c4d8fd0b3bde155f9cac96015cfcf4cb9
2024-08-20 09:40:52 +02:00
Translation updater bot f84ae293a7
Localisation updates from https://translatewiki.net.
Change-Id: I0bd93af961c8a19ab595c47419baebe859ebfb10
2024-08-19 09:21:21 +02:00
Translation updater bot b895b6e260
Localisation updates from https://translatewiki.net.
Change-Id: Icbb7f095f8e900bd543da07fd96a07781c33f260
2024-08-16 09:27:04 +02:00
Translation updater bot a2eda6ffe9
Localisation updates from https://translatewiki.net.
Change-Id: Ic73effef7a989c9f1decc1e969e763479e7fd37f
2024-08-15 09:19:43 +02:00
Translation updater bot a42907f294
Localisation updates from https://translatewiki.net.
Change-Id: I97bbd0e84bb14a5ed834dd9efe28aa9b01a2e793
2024-08-14 09:21:50 +02:00
Translation updater bot ad732457f0
Localisation updates from https://translatewiki.net.
Change-Id: Ib70cb44a14bea490f350ec8e26af5d5985523544
2024-08-13 09:49:45 +02:00
Translation updater bot 7d3642691b
Localisation updates from https://translatewiki.net.
Change-Id: I4c1b8c0c0afe3002a611973d5215d826e299724b
2024-08-12 09:21:28 +02:00
Translation updater bot d1968e3265
Localisation updates from https://translatewiki.net.
Change-Id: I9ba0596c00fd3308d4098af7959f5cecdcc2fdeb
2024-08-09 09:33:51 +02:00
Translation updater bot bcab3a7b03
Localisation updates from https://translatewiki.net.
Change-Id: Ibe6cf64b03cb5765fc5e6b7966d16a576e698e39
2024-08-08 09:18:53 +02:00
Translation updater bot 20d8e1f7e5
Localisation updates from https://translatewiki.net.
Change-Id: I11719f554ac0d43b6a495d899be6142263acb538
2024-08-07 09:23:30 +02:00
Translation updater bot 86370ce996
Localisation updates from https://translatewiki.net.
Change-Id: I8ae8cad2792bd17aec12bbce4948a2ef482f5898
2024-08-06 09:45:24 +02:00
Translation updater bot 425772c917
Localisation updates from https://translatewiki.net.
Change-Id: I0ca9695ef472463c0d330ab67dbde90f7299dca0
2024-08-05 09:24:19 +02:00
Translation updater bot d60fbef793
Localisation updates from https://translatewiki.net.
Change-Id: Ia37a015890cc9ad9bd4161a9aed98b0af2e48ff3
2024-08-02 09:38:28 +02:00
Translation updater bot 82bd56a0aa
Localisation updates from https://translatewiki.net.
Change-Id: I38ce7ea690d6179ace75687bffdb3f1a2a4fc1ff
2024-08-01 09:17:49 +02:00
Translation updater bot c0115f3b37
Localisation updates from https://translatewiki.net.
Change-Id: I03e947472be5927135567cdc1af44092224b7417
2024-07-31 09:22:13 +02:00
Translation updater bot 02a8dfd882
Localisation updates from https://translatewiki.net.
Change-Id: I8cbdcb55fc109c1656b3b088291f5f831e6b11a4
2024-07-29 09:25:38 +02:00
Translation updater bot e7faf0160a
Localisation updates from https://translatewiki.net.
Change-Id: Ib7a5615f3975209e0e0606d1c338cfd6b0ccf935
2024-07-26 09:42:10 +02:00
Translation updater bot 9b629596ad
Localisation updates from https://translatewiki.net.
Change-Id: I3186f4450439bda638aeb79ec92c28f4cc246d08
2024-07-25 09:18:02 +02:00
Translation updater bot b51459ba3f
Localisation updates from https://translatewiki.net.
Change-Id: I6a32d083d92c6662deb31315deb0d95f31ccdfff
2024-07-24 09:22:18 +02:00
Translation updater bot 975e343eb7
Localisation updates from https://translatewiki.net.
Change-Id: Idd0ae1de72d24475bf51178cb0ff4a7ec51c70f2
2024-07-23 09:44:13 +02:00
Translation updater bot 062f0039f1
Localisation updates from https://translatewiki.net.
Change-Id: Ibba5126d0bce50662ec9f3159f6c34c91fbe9052
2024-07-22 09:23:20 +02:00
Translation updater bot 750410c687
Localisation updates from https://translatewiki.net.
Change-Id: I5c02cf68177fe5232bd15d76610ebc913e93dfd4
2024-07-19 09:39:06 +02:00
Translation updater bot 19ca2cad10
Localisation updates from https://translatewiki.net.
Change-Id: I9ace4121ba7dd3fde9d5bcfcb3de2bb5770d7398
2024-07-18 09:21:47 +02:00
Translation updater bot 1e780b50b2
Localisation updates from https://translatewiki.net.
Change-Id: I04c98eb129c828b33855e460482966a217993243
2024-07-17 09:32:57 +02:00
Translation updater bot 6b326ff2e0
Localisation updates from https://translatewiki.net.
Change-Id: I7c947cf27ac5872d0eaa9562c02d6c0699bf5c74
2024-07-16 09:38:35 +02:00
Translation updater bot 29747424be
Localisation updates from https://translatewiki.net.
Change-Id: Ibb7f11474f369163ca753af519cbb5aabf4d2e01
2024-07-15 09:23:04 +02:00
Translation updater bot df9e545f7a
Localisation updates from https://translatewiki.net.
Change-Id: Id341fc862b25c9debb23651ef7e7a62018210b62
2024-07-12 09:39:20 +02:00
Translation updater bot e045f60dbc
Localisation updates from https://translatewiki.net.
Change-Id: I611ea9d3dfa96b0429e036c67a48e7093b9ec86e
2024-07-11 09:28:44 +02:00
STran 30227231f6 Disallow protected variable access on AbuseFilterViewTestBatch
A filter using a protected variable can be loaded via filter id
using testing tools even though the user might not have the right
to view protected variables. This can potentially leak PII and as
such, testing tools should check for the right before allowing
protected filters to be seen.

- Unload a filter asap if it uses protected variables and the
  requestor doesn't have viewing rights. This:
    + disallows loading of existing protected filters on page load
    + disallows testing against rules that use protected variables
    + disallows subsequent requests for protected filters (via API)

There is a known bug (see T369620) where no user feedback is
provided if an API request for a filter returns no result (typically
when no filter matches the requested id). This commit adds another
pathway to that bug (the filter exists but is protected and not
returned by the API) but does not update this UI/UX.

Bug: T364834
Change-Id: I6a572790edd743596d70c9c4a2ee52b4561e25f3
2024-07-10 05:31:03 -07:00
Translation updater bot 18ed47a687
Localisation updates from https://translatewiki.net.
Change-Id: I737a1012f865c2d664b7eac9920b1d295c930092
2024-07-09 09:41:37 +02:00
Translation updater bot 993fa76c25
Localisation updates from https://translatewiki.net.
Change-Id: I3f4a8deafc80c7f23627b88f76303a37e01fbdf1
2024-07-08 09:31:57 +02:00
Translation updater bot bdf0937a27
Localisation updates from https://translatewiki.net.
Change-Id: I3695bef66d72e4039db55ea1d0a74e86709893b9
2024-07-03 09:25:22 +02:00
Translation updater bot 71b1c0d0e6
Localisation updates from https://translatewiki.net.
Change-Id: I635f2c56c409540927635aceba53aa615fe45267
2024-07-01 09:24:18 +02:00