Fork me on GitHub

Will be a problem if I delete the guest user?  Bottom

  • I have to import a lot users (and some related tables) from another not-web application. I'd like to preserve the IDs of the users, because there are a lot of relations between the tables and I don't want to have to change them... and also because probably I'll have to periodically update those tables by mysql.

    The users start from ID 1, so I have to move guest and Administrator. For the administrator is not a problem, because I can switch his ID to something like 100000 (we'll never have so many users). But what about the guest user? Can I delete it or is it required for the system?

    Thanks for the help.

    --
    Zikula Italia
    SimpleGallery
  • Try it and find out. icon_wink

    --
    David Pahl
    Zikula Support Team
  • Well, I don't think to be able to find out all the consequences of deleting the guest user icon_razz
    I'll try it for sure, but only a developer can tell if there is any module/core function that NEED it icon_wink

    --
    Zikula Italia
    SimpleGallery
  • 'Guest' being synonymous with 'Anonymous' or 'Unregisterd' I could see this presenting problems with base level permissions. Also some modules may have filters based on '$pnuid > 2' (RosterMaster does this to create a user list... seeing this has potential problems, I'll change it).

    Actually I just did a quick check and .8's Securityutil:: uses 'pnUserGetVar('uid')' to check against so I assume changing either Admin or Anonymous id's will in fact be problematic with regard to permissions at least.

    --
    Under Construction!
  • 0 users

This list is based on users active over the last 60 minutes.