Fix API roles permissions list to properly display the correct ACL group #783

This commit is contained in:
Ramon Gutierrez 2024-04-06 14:56:16 +08:00
parent d7909f7941
commit a64557ffcd

View file

@ -326,7 +326,7 @@ class APIRoleController extends Controller
protected function padAPIACLHierarchy(&$params) protected function padAPIACLHierarchy(&$params)
{ {
// get acl keys hierarchy // get acl keys hierarchy
$api_acl_data = $this->api_acl_gen->getACL(); $api_acl_data = $this->api_acl_gen->getACL('api');
$params['api_acl_hierarchy'] = $api_acl_data['hierarchy']; $params['api_acl_hierarchy'] = $api_acl_data['hierarchy'];
} }