Question: admin as username causes problems

admin as username causes problems

I've found that if I: * create a new user account in the 'owner' group * login as that new user * delete the initial [email protected] user * create a new 'owner' user with the username 'a

SS

Scott Smith

Asked
I've found that if I:

* create a new user account in the 'owner' group
* login as that new user
* delete the initial [email protected] user
* create a new 'owner' user with the username 'admin'
* login as this new 'admin'

Then I will get some very odd behaviors. In a nutshell, it seems having a username 'admin' is not a good idea. That should probably be in the "After install" documentation.

By odd behaviors, I mean for example that trying to add a new user will have all the fields populated with the 'admin' user info. Likewise, editing a user will have their data (in the form) replaced by the 'admin' info.

I haven't checked the code, but it seems highly likely that something is keying off the specific 'admin' username. It should not be.
  • MS

    Mian Saleem

    Answered
    Hello,

    Username shouldn't cause such issue :(

    The owner and admin group have fixed permissions but that is for group not the user. I tried to test and my local install is working find with `admin` username with owner group. I am not sure what caused the issue on your install. Can you please test it on live demo and let me know the step to reproduce the issue.

    Thank you
  • SS

    Scott Smith

    Answered
    Hi, sorry, I've been busy trying to get this up and running. The business, not just the app. However, having run through two or three installations (easier to blow away mistakes and start over, you know), I can tell you the behavior is consistent. I worked around it by calling the user 'administrator' instead of 'admin'.
  • MS

    Mian Saleem

    Answered
    Quite strange, I will try to check it again. Thank you
  • Login to Reply