Domain owners are not able to activate the enabled by default features

To replicate:

  • Create a virtual server with Virtualmin login enabled;
  • Login to Virtualmin as the user of newly created virtual server;
  • Click on Edit Virtual Server, expand Enabled features and see all the checkboxes for additional options are grayed out, so they are not selectable.

Not an Authentic Theme issue as I tested this with other themes - the options that are enabled by default (which means they should be available for activation) are not selectable.

Status: 
Closed (fixed)

Comments

And the relevant issue, that I don't think worth creating a separate report:

When clicking (as a domain owner, of course) on "Create Virtual server" and expanding "Enabled features" you can see only those features that are enabled and activated by default. Those features which are enabled, but not activated by default, are not seen on UI. Then what's the meaning of activating them at all?!

And to avoid back and forth questions: By "activated" I mean going as root user to Features and Plugins and checking the checkbox under the first column "Feature or Plugin". By "enabled by default" I mean checking the check boxes under the column "Default?". By "activated, but not enabled by default" I mean checking the check box under "Feature or Plugin" column, but not checking the checkbox under "Default?" column.

So please save everybody's time, do not ask additional questions and just test this on your environment to see what I mean.

Sorry but we're going to have to ask some questions :-)

Regarding the first issue -- if you go into Administrative Options -> Edit Owner Limits, is the "Edit Virtual Server" option enabled?

Regarding the second issue -- typically root (or a reseller) would be enabling those features, at domain creation time (which may also be the reason for the first issue).

If root doesn't grant them the features, they aren't going to show up there by default.

Do the additional available options show up if you enable the "Can Edit Virtual Server" option?

Regarding the first issue -- if you go into Administrative Options -> Edit Owner Limits, is the "Edit Virtual Server" option enabled?

It is enabled and does not help. However, what does help is enabling features in the Administrative Options > Edit Owner Limits > Allowed features for servers section.

Regarding the second issue -- typically root (or a reseller) would be enabling those features, at domain creation time (which may also be the reason for the first issue). If root doesn't grant them the features, they aren't going to show up there by default.

Well, here it is again - screwing up the lives of hosting vendors :(

The whole idea of using Virtualmin is about to automatize the website deployment process. Why would you make root (or reseller) to take manual steps, when you already have the "Default" option on the System Settings > Features and Plugins page?! Can you elaborate what is the purpose of that column and meaning of making some checks under it if it doesn't have effect anyway?!

Can you tell me a way hot to avoid this manual step for root or reseller user as we are deploying websites through API?

Those options in Features and Plugins are what options will be enabled/disabled by default when the root user or reseller goes to create a new domain.

But that's only one of many ways to set the features.

You can also give Virtual Server owners access to certain features by using Account Plans. Take a peek at the System Settings -> Account Plans -> Default Available Features options.

Also, if you're using the API, you should be able to enable any of the features you want using the various "Feature" parameters, such as "--ssl" and "--mysql".

If you're passing in a parameter such as --mysql, it should be enabling the MySQL database feature for that domain, and it shouldn't require any additional steps.

You can see the full list of options by running the command "virtualmin create-domain".

Let us know if that's not working as expected for you thought.

Eric,

I know we can do things through API, but also would like to enable the domain owners to enable/disable things per their own will. So could you please tell me how to configure the system so to give domain owners additional features not activated, but available for activation if/when they want to do so, and do so without requesting a technical assistance from hosting company for such trivial things.

Make Virtualmin for hosting vendors in mind in the first place! Make it easy for us and let delegating as many features to domain owners as possible. At least leave those options configurable one or another way. Do no set things explicitly to behave in certain ways only.

Status: Active » Fixed (pending)

Ok, I went to Account Plans, as Eric suggested, expanded the "Allowed domain features" section and had to choose "Selected below .." and select all features to make them all available to domain owners. It serves our goal, so I am marking this issue as closed.

At the same time, it remains a mystery to me why the "Automatic, based on initial features" does not work as expected. I wonder why to keep bloated options that do not work anyway?!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.