multi-user accounts

Discussion in 'General' started by nhybgtvfr, Feb 14, 2019.

  1. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    Hi,

    i'm running 3.1.13 multi-server.

    I know previously (3.0.5) I've managed to create an cp-user from system-user management - cp-users - add new user.
    and giving it the same groupid as an existing user.

    this allowed two different logins to access the control panel, and see and edit the same set of websites/dns/email etc, it all worked quite nicely.
    this doesn't see to be possible any more.
    (also just noticed, the old accounts created this way don't survive a server migration either)

    but it doesn't seem to be possible to do this anymore. I just get the warning:
    1. CP-Users of type -user- get added and updated automatically when you add a client or reseller.

    I guess I could change an account to a reseller account, create another user under it, and then move the domains/websites etc to that user.
    but it seems a bit of a faff. and if more than two people want access then I'd have to nest reseller accounts ( is that even possible? I've not tried it).

    is there no way to have multiple logins to a single account now? we have several organizations that want several people to be able to login and make changes to the same set of mail accounts, dns zones etc.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There was never an official way to add more login users for a client, but we had not locked that option so it was possible to create such users which often resulted in inconsistent data on the servers, that's why we added some checks to prevent it now. Theoretically, you can still do it by adding such a user with admin privileges and then further modify it with phpmyadmin by using the original user of that client as an example.
     
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    ok. don't like the sound of inconsistent data. can't say I noticed any though, although I don't think we had the extra user accounts actually ever really do anything. we do have a company asking for it now that are likely to make quite regular changes though.

    are there any plans for an official way to do this?
    if they only need 2 accounts I may just go with creating one as a reseller of the other.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Not at the moment. basically, all code and each function would have to be reviewed if it could deal with a second user and this would be a lot of work.
     
  5. usmcc2000

    usmcc2000 New Member

    In addition to adding a second CP User for a Client, I would like to be able to give that CP User access to a single website for that Client. What about the use case of assigning an Admin account access to some websites from multiple Clients?
    Is there a way I can help test and implement these features?
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    giving a another user access to only a single website of another user who has multiple sites is going to be problematic at best.
    how do you restrict group access to sites in the same group when you have to give that user access to that group?
    the only way you're going to get those features it to code them, and at @till says, it'll be a lot of work.

    that said, there is a work-around, it's not ideal, but to give someone access to just one other site of another user, it should work well enough.
    create the new user, as a normal ispconfig client account. transfer the required site to this client. make the original site owner a reseller, and make the new user a client of this reseller.
    this was the original owner will still see the site in his control panel, and have overall control over it, and their other sites, whilst the new user will only see, and be able to make changes to this one site.
     

Share This Page