From fa5a896071e66162cb70faebe964235914aad8eb Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 15 Nov 2024 17:16:05 +0800 Subject: [PATCH] * [ui] fix api edit button not show in api view. --- module/api/ui/index.html.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/api/ui/index.html.php b/module/api/ui/index.html.php index b2941bc26e..238413a773 100644 --- a/module/api/ui/index.html.php +++ b/module/api/ui/index.html.php @@ -15,6 +15,7 @@ $privs['collect'] = 'no'; $privs['createApi'] = hasPriv('api', 'create'); $privs['exportApi'] = $this->config->edition != 'open' && hasPriv('api', 'export'); $privs['edit'] = hasPriv('api', 'edit'); +$privs['editApi'] = hasPriv('api', 'edit'); $privs['view'] = hasPriv('api', 'view'); $privs['delete'] = hasPriv('api', 'delete'); $privs['createLib'] = hasPriv('api', 'createLib');