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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Will be a problem if I delete the guest user?
-
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
-
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
-
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
Well, I don't think to be able to find out all the consequences of deleting the guest user
I'll try it for sure, but only a developer can tell if there is any module/core function that NEED it
--
Zikula Italia
SimpleGallery -
- Rank: Expert
- Registered: Nov 23, 2003
- Last visit: Dec 13, 2009
- Posts: 1487
'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!
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
