use PVE::API2::Group;
use PVE::API2::Role;
use PVE::API2::ACL;
-use PVE::API2::Pool;
use base qw(PVE::RESTHandler);
path => 'domains',
});
-__PACKAGE__->register_method ({
- subclass => "PVE::API2::Pool",
- path => 'pools',
-});
-
__PACKAGE__->register_method ({
name => 'index',
path => '',
} else {
# only root may change root password
raise_perm_exc() if $userid eq 'root@pam';
+ # do not allow to change system user passwords
+ raise_perm_exc() if $realm eq 'pam';
}
}