Closed (fixed)
Project:
User Expire
Version:
8.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2019 at 08:59 UTC
Updated:
16 Jul 2021 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
niky_chavan commentedWhen using User expire module if there are 2 user having admin role then user with uid=1 (drupal default administrator user) should never get blocked.
Comment #3
niky_chavan commentedAdded new patch for user expire
Comment #4
sorabh.v6I believe it should work with the patch in #3
Comment #5
gregglesThanks for the contribution. I can see how this might make sense in some cases.
Philosophically I disagree with this proposal. The special behavior of UID 1 is a bug, IMO. We should not treat it specially in a security focused module like this one. See #540008: Add a container parameter that can remove the special behavior of UID#1 for some reasons why uid 1 should not be treated specially.
My proposal is to mark it as "won't fix" and document why on the project page to confirm the philosophy, but want to see if there's any feedback on my perspective in case I'm missing something.
Comment #6
sorabh.v6I like your idea @greggles but I know many people do not want uid 1 to expire especially when the site is in the development phase. Maybe, a checkbox to turn this on/off for uid 1 will be helpful. With this, we can give the decision on the site admin's hand.
Comment #7
gregglesIt seems useful to have docs in the README to show how to unblock a uid 1 from database/command line. We can link to those from the project page.
Comment #8
gregglesThe original issue summary is "As per drupal standard we should not expire administrator user with uid 1."
I don't think it's a standard to reduce security related to uid 1. If anything that should have the highest levels of security applied to it.
Re-titling and providing a new issue summary to focus on the new goal of providing documentation.
Comment #9
shelaneThis is the link I have added to the project page and README file:
https://www.drupal.org/node/947312
Comment #11
gregglesThat's a great solution. Thank you!