Webmin group for domain owners -> on Add/Edit Server Template Error | Virtualmin 6.08 GPL

Centos: 7.7.1908
Webmin version: 1.941
Virtualmin version: 6.08
Perl: 5.16.3

When editing or creating new server template, impossible to add Webmin group for domain owners at Webmin login section.

Error when clicking save template button:
Undefined subroutine &acl::list_groups called at /usr/libexec/webmin/virtual-server/feature-webmin.pl line 1321.

Solution: Edit file: /usr/libexec/webmin/virtual-server/feature-webmin.pl
Find:

# parse_template_webmin(&tmpl)
# Updates webmin-user-related template options from %in
sub parse_template_webmin
{

Replace with:

# parse_template_webmin(&tmpl)
# Updates webmin-user-related template options from %in
sub parse_template_webmin
{
&require_acl();

Restart Webmin -> And all is working !!!

Status: 
Fixed (pending)

Comments

Assigned: » Unassigned
Ilia's picture
Submitted by Ilia on Sun, 02/16/2020 - 11:10

Hi,

I cannot reproduce it.

Can you please provide a screenshot with filled in data, before hitting Save and Next button?

Hi,
I uploaded screen, the point is that I edited dat file which showed me error, and all is working now, problem was that : &acl::list_groups(); was not definied on save action ....

Ilia's picture
Submitted by Ilia on Mon, 02/17/2020 - 15:30

Status: Active » Fixed (pending)

Okay, great, I got it now.

Thank you for your report. It will be fixed upon next Virtualmin release.