X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAPI2%2FAccessControl.pm;h=913bdd81a8fea82fd6ed71735ba696be80734b08;hp=a4076481e6364999276b3b5ede4645334190a190;hb=39c85db819dc564e89270f6f6d15dbce79d0540b;hpb=7b6f1fd306c17d38bbdf21edac7e930bbe2656d4 diff --git a/PVE/API2/AccessControl.pm b/PVE/API2/AccessControl.pm index a407648..913bdd8 100644 --- a/PVE/API2/AccessControl.pm +++ b/PVE/API2/AccessControl.pm @@ -15,6 +15,7 @@ use PVE::API2::User; use PVE::API2::Group; use PVE::API2::Role; use PVE::API2::ACL; +use PVE::API2::Pool; use base qw(PVE::RESTHandler); @@ -43,6 +44,11 @@ __PACKAGE__->register_method ({ path => 'domains', }); +__PACKAGE__->register_method ({ + subclass => "PVE::API2::Pool", + path => 'pools', +}); + __PACKAGE__->register_method ({ name => 'index', path => '',