From 329fd25c63616ca5c2dfc8624700c283092f1b45 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Wed, 28 Aug 2024 21:58:28 +0530 Subject: [PATCH] Add new action for getting license info (#129) This will be checked subsequently in minio for a new admin api 'license-info' that returns information about the license. That api will finally be used by clients to fetch and display the license details. --- policy/admin-action.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/admin-action.go b/policy/admin-action.go index 14a2fbc..ea4785f 100644 --- a/policy/admin-action.go +++ b/policy/admin-action.go @@ -59,6 +59,8 @@ const ( ServerInfoAdminAction = "admin:ServerInfo" // HealthInfoAdminAction - allow obtaining cluster health information HealthInfoAdminAction = "admin:OBDInfo" + // LicenseInfoAdminAction - allow obtaining license information + LicenseInfoAdminAction = "admin:LicenseInfo" // BandwidthMonitorAction - allow monitoring bandwidth usage BandwidthMonitorAction = "admin:BandwidthMonitor" // InspectDataAction - allows downloading raw files from backend