Coder Social home page Coder Social logo

User account not properly deleted. about zpanelx HOT 9 OPEN

zpanel avatar zpanel commented on August 21, 2024
User account not properly deleted.

from zpanelx.

Comments (9)

h6w avatar h6w commented on August 21, 2024

This may actually be two separate bugs. I just haven't yet had time to check to see if the domains are actually anywhere in the database. I strongly suspect that the transfer to the zadmin user failed, and the user still exists, but is disconnected from its domains.

from zpanelx.

TGates71 avatar TGates71 commented on August 21, 2024

(2) is not a bug. if you want to re-use client names, you will need to manually remove them from the database.

from zpanelx.

h6w avatar h6w commented on August 21, 2024

Perhaps a different way to look at this bug is:
The client name/email address is not represented anywhere in the interface after it's deleted but remains in the database.
Or
The account is not deleted but disabled.

We seem to be breaking a software engineering rule here. That being that if a key is required to be unique for the lifetime of the software, then it should be entirely independent and not user-defined. Users cannot see the underlying architectural consequences, they can only see what it shown to them via the interface.

from zpanelx.

 avatar commented on August 21, 2024

This is bug for me. As we could make a mistake creating and account and delete it. Then try a new account setup. It will fail mainly as the email EXISTS too even if you change the name.

The account can be kept in DB but the way the account creation check if account exist must exclude those with status deleted.

Same then when retrieving passwords ( lost password) and all related account function.

You can't add another different account EVEN changing the user name but keeping the same email.

from zpanelx.

 avatar commented on August 21, 2024

Lot of issues over this in support. I think we should try to fix it

@bobsta63 I can't change this settings and offer a pull unless you agree. As it requires a change in DB or request to pull user infos/ check them.

Me.B

from zpanelx.

TGates71 avatar TGates71 commented on August 21, 2024

don't need change in DB, just the SELECT column FROM table WHERE deleted = NULL statement. rather simple.(null being active accounts)
same goes with email address, domains/subs, alias, etc...
although i would prefer to erase deleted accounts or move them aside (and all associated files/folders/logs/DBs) instead of load up the server with them. maybe a simple 'permanently remove' button in the client manager.
I have an idea for this, 3 pages in client manager: active, add new and inactive. inactive will have the permanently delete button (or backup elsewhere or something).

from zpanelx.

nikola66 avatar nikola66 commented on August 21, 2024

@TGates71 ++++1 :)
Agreed the permanent delete option.

from zpanelx.

TGates71 avatar TGates71 commented on August 21, 2024

We will look into this guys. @Caffe1neAdd1ct

from zpanelx.

50l3r avatar 50l3r commented on August 21, 2024

@TGates71 +1
Waiting for update :)

from zpanelx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.