Hi, i am having problems with my ISPConfig server. If i select a storage limit for my user and then change it as an admin it works fine. but if i try as a user to increase my website storage i can't do it. For exemple i'm starting w/ a customer who wants a web server of 500M and wants to increase down the line to 2G. As an admin i change his storage space to 2G but his website stays limited to 500M and i have to change it manually. I would like the user to be able to increase it himself or even better that it can be automatic. Am i missing something ? Thank you in advance.
The user can change the website storage himself when the user created the website himself or when the admin used the 'login as user' function to create the website. If the admin creates the website 'as admin', then the admin lock is applied which means only the admin user ma change settings. So use one of the two first mentioned methods to create the site when you want that the customer is able to change it later.
Thank you for your answer. If i understand well, if as an admin i create a domain for my user, he can't change his storage limit down the road but if he create it himself he can change it ?
Yes. And he can also change it if you as admin use the 'login as user' function to create it. So you can create the sites for your users in a way that they can change it, you just have to use the right way if you want to allow them such changes.
This news is kinda infortunate for me as i am using the ispcfg3 plugin to create products on ISPConfig from WHMCS. Is it possible for me to change the way it is done ? Maybe by modifying some parameters in the config ?
You should have mentioned that you are using WHMCS and not ISPConfig. The WHMCS plugin probably uses the ISPConfig API and the API can do this. So it's a matter if WHMCS supports this and if the WHMCS plugin you uses has this implemented or not, so this is not an ISPConfig issue as iSPConfig can do that.
Well. All that the WHMCS -> ISPConfig do to my knowlege is that it uses a remote user who have the sames rights as the admin. It uses the limit-templates that are declared in ISPConfig. Here is a screenshot of all the options in WHMCS and it is not much as you can see. https://ibb.co/TPVr3S1
And this allows the remote user to set whatever client permissions are needed. The Migration tool uses the exact same API and sets the permissions of websites to the correct user permissions with it. So it's not an ISPConfig issue or a limitation of the API, as I pointed out already. If WHMCS or the plugin that you use to connect it to ISPConfig does not support all of ISPConfig features, then you have to extend WHMCS or the connection plugin.
Just wondering, why is the admin lock in place, and is there any way to disable it for sites that already exist?
This feature is often used by web design agencies that also provide hosting to their customers. They use it to prevent that the customer messes up the site settings to bring his own site down. Yes, the sys_userid and sys_perm_group setting of the item in the database needs to be adjusted to remove the admin protection. I've described that in various posts and there is also a pending feature request for providing this as a checkbox in the UI.