Closed (won't fix)
Project:
Drupal core
Version:
11.x-dev
Component:
user.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2022 at 21:56 UTC
Updated:
17 Sep 2025 at 05:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
danielvezaComment #3
danielvezaI pushed a commit for this but I can't see the command. Ready for review so tests run
Comment #5
joachim commentedLGTM.
Comment #6
quietone commentedThis needs to be applied to 10.0.x first and can we have a 9.5.x version as well. Thanks!
Comment #7
danielvezaThe existing MR applies to both 10.x & 9.5 :)
Attaching a patch of the diff from that MR so it can be tested against 10.x & 9.5
Comment #8
danielvezaI think this can go back to NR
Comment #9
acbramley commentedPatch changes match the MR changes, back to RTBC
Comment #11
danielvezaI think thats a random fail. RTBC
Comment #12
alexpottThis change creates more API that needs to be maintained. At the moment the plugins \Drupal\user\Plugin\Action\UnblockUser and \Drupal\user\Plugin\Action\BlockUser are not API - since they are concrete plugins. Adding
Drupal\user\Plugin\Action\ChangeUserStatusBasegives us a new abstract class to maintain. I'm not sure there are real benefits here. Also I'm not sure there is much call for this base class in contrib.Comment #13
catchYeah I'm also not sure about this, it doesn't meet the rule of three and there's only a total of three lines of code being removed, the diffstat is almost equal.
Comment #14
smustgrave commentedSeems there is more discussion to be had based on #12 and #13.
If this does go through it will need a change record I believe.
Comment #15
danielvezaI'm OP - I think we should close this one based on feedback from #12 & 13. Doesn't need to block up the issue queue :)
Comment #17
danielveza