Docs: Cleanup enterprise tag usage (#114694)
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
This commit is contained in:
co-authored by
Thomas Casteleyn
parent
95e65e2588
commit
8ff75c2177
@@ -2,9 +2,7 @@ import { api } from './baseAPI';
|
||||
export const addTagTypes = [
|
||||
'enterprise',
|
||||
'access_control',
|
||||
'ldap_debug',
|
||||
'admin_ldap',
|
||||
'access_control_provisioning',
|
||||
'admin_provisioning',
|
||||
'admin',
|
||||
'admin_users',
|
||||
@@ -232,7 +230,7 @@ const injectedRtkApi = api
|
||||
}),
|
||||
getSyncStatus: build.query<GetSyncStatusApiResponse, GetSyncStatusApiArg>({
|
||||
query: () => ({ url: `/admin/ldap-sync-status` }),
|
||||
providesTags: ['ldap_debug', 'enterprise'],
|
||||
providesTags: ['admin_ldap', 'enterprise'],
|
||||
}),
|
||||
reloadLdapCfg: build.mutation<ReloadLdapCfgApiResponse, ReloadLdapCfgApiArg>({
|
||||
query: () => ({ url: `/admin/ldap/reload`, method: 'POST' }),
|
||||
@@ -255,7 +253,7 @@ const injectedRtkApi = api
|
||||
AdminProvisioningReloadAccessControlApiArg
|
||||
>({
|
||||
query: () => ({ url: `/admin/provisioning/access-control/reload`, method: 'POST' }),
|
||||
invalidatesTags: ['access_control_provisioning', 'enterprise'],
|
||||
invalidatesTags: ['admin_provisioning', 'access_control', 'enterprise'],
|
||||
}),
|
||||
adminProvisioningReloadDashboards: build.mutation<
|
||||
AdminProvisioningReloadDashboardsApiResponse,
|
||||
|
||||
Generated
+3
-2
@@ -726,7 +726,7 @@
|
||||
"get": {
|
||||
"description": "You need to have a permission with action `ldap.status:read`.",
|
||||
"tags": [
|
||||
"ldap_debug",
|
||||
"admin_ldap",
|
||||
"enterprise"
|
||||
],
|
||||
"summary": "Returns the current state of the LDAP background sync integration.",
|
||||
@@ -750,7 +750,8 @@
|
||||
"/admin/provisioning/access-control/reload": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"access_control_provisioning",
|
||||
"admin_provisioning",
|
||||
"access_control",
|
||||
"enterprise"
|
||||
],
|
||||
"summary": "You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.",
|
||||
|
||||
Generated
+3
-2
@@ -1005,7 +1005,7 @@
|
||||
"get": {
|
||||
"description": "You need to have a permission with action `ldap.status:read`.",
|
||||
"tags": [
|
||||
"ldap_debug",
|
||||
"admin_ldap",
|
||||
"enterprise"
|
||||
],
|
||||
"summary": "Returns the current state of the LDAP background sync integration.",
|
||||
@@ -1162,7 +1162,8 @@
|
||||
"/admin/provisioning/access-control/reload": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"access_control_provisioning",
|
||||
"admin_provisioning",
|
||||
"access_control",
|
||||
"enterprise"
|
||||
],
|
||||
"summary": "You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.",
|
||||
|
||||
Generated
+3
-2
@@ -15008,7 +15008,7 @@
|
||||
},
|
||||
"summary": "Returns the current state of the LDAP background sync integration.",
|
||||
"tags": [
|
||||
"ldap_debug",
|
||||
"admin_ldap",
|
||||
"enterprise"
|
||||
]
|
||||
}
|
||||
@@ -15166,7 +15166,8 @@
|
||||
},
|
||||
"summary": "You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.",
|
||||
"tags": [
|
||||
"access_control_provisioning",
|
||||
"admin_provisioning",
|
||||
"access_control",
|
||||
"enterprise"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user