@@ -22,27 +22,28 @@ import (
2222
2323// endpoints definition
2424var (
25- configuration = "/configurations-list"
26- users = "/users"
27- groups = "/groups"
28- iamPolicies = "/policies"
29- dashboard = "/dashboard"
30- profiling = "/profiling"
31- trace = "/trace"
32- logs = "/logs"
33- watch = "/watch"
34- notifications = "/notification-endpoints"
35- buckets = "/buckets"
36- bucketsDetail = "/buckets/:bucketName"
37- serviceAccounts = "/service-accounts"
38- tenants = "/tenants"
39- tenantsDetail = "/namespaces/:tenantNamespace/tenants/:tenantName"
40- heal = "/heal"
41- remoteBuckets = "/remote-buckets"
42- replication = "/replication"
43- objectBrowser = "/object-browser/:bucket?"
44- mainObjectBrowser = "/object-browser"
45- license = "/license"
25+ configuration = "/configurations-list"
26+ users = "/users"
27+ groups = "/groups"
28+ iamPolicies = "/policies"
29+ dashboard = "/dashboard"
30+ profiling = "/profiling"
31+ trace = "/trace"
32+ logs = "/logs"
33+ watch = "/watch"
34+ notifications = "/notification-endpoints"
35+ buckets = "/buckets"
36+ bucketsDetail = "/buckets/:bucketName"
37+ serviceAccounts = "/service-accounts"
38+ tenants = "/tenants"
39+ tenantsDetail = "/namespaces/:tenantNamespace/tenants/:tenantName"
40+ heal = "/heal"
41+ remoteBuckets = "/remote-buckets"
42+ replication = "/replication"
43+ objectBrowser = "/object-browser/:bucket/*"
44+ objectBrowserBucket = "/object-browser/:bucket"
45+ mainObjectBrowser = "/object-browser"
46+ license = "/license"
4647)
4748
4849type ConfigurationActionSet struct {
@@ -245,25 +246,26 @@ var licenseActionSet = ConfigurationActionSet{
245246
246247// endpointRules contains the mapping between endpoints and ActionSets, additional rules can be added here
247248var endpointRules = map [string ]ConfigurationActionSet {
248- configuration : configurationActionSet ,
249- users : usersActionSet ,
250- groups : groupsActionSet ,
251- iamPolicies : iamPoliciesActionSet ,
252- dashboard : dashboardActionSet ,
253- profiling : profilingActionSet ,
254- trace : traceActionSet ,
255- logs : logsActionSet ,
256- watch : watchActionSet ,
257- notifications : notificationsActionSet ,
258- buckets : bucketsActionSet ,
259- bucketsDetail : bucketsActionSet ,
260- serviceAccounts : serviceAccountsActionSet ,
261- heal : healActionSet ,
262- remoteBuckets : remoteBucketsActionSet ,
263- replication : replicationActionSet ,
264- objectBrowser : objectBrowserActionSet ,
265- mainObjectBrowser : objectBrowserActionSet ,
266- license : licenseActionSet ,
249+ configuration : configurationActionSet ,
250+ users : usersActionSet ,
251+ groups : groupsActionSet ,
252+ iamPolicies : iamPoliciesActionSet ,
253+ dashboard : dashboardActionSet ,
254+ profiling : profilingActionSet ,
255+ trace : traceActionSet ,
256+ logs : logsActionSet ,
257+ watch : watchActionSet ,
258+ notifications : notificationsActionSet ,
259+ buckets : bucketsActionSet ,
260+ bucketsDetail : bucketsActionSet ,
261+ serviceAccounts : serviceAccountsActionSet ,
262+ heal : healActionSet ,
263+ remoteBuckets : remoteBucketsActionSet ,
264+ replication : replicationActionSet ,
265+ objectBrowser : objectBrowserActionSet ,
266+ mainObjectBrowser : objectBrowserActionSet ,
267+ objectBrowserBucket : objectBrowserActionSet ,
268+ license : licenseActionSet ,
267269}
268270
269271// operatorRules contains the mapping between endpoints and ActionSets for operator only mode
0 commit comments