mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Rename legacy role's ip_whitelist to ip_access (#20970)
This commit is contained in:
6
.changeset/many-camels-impress.md
Normal file
6
.changeset/many-camels-impress.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@directus/specs': patch
|
||||
'@directus/types': patch
|
||||
---
|
||||
|
||||
Renamed legacy role's `ip_whitelist` to `ip_access`
|
||||
@@ -43,7 +43,7 @@ patch:
|
||||
external_id:
|
||||
description: ID used with external services in SCIM.
|
||||
type: string
|
||||
ip_whitelist:
|
||||
ip_access:
|
||||
description: Array of IP addresses that are allowed to connect to the API as a user of this role.
|
||||
type: array
|
||||
items:
|
||||
|
||||
@@ -54,7 +54,7 @@ post:
|
||||
external_id:
|
||||
description: ID used with external services in SCIM.
|
||||
type: string
|
||||
ip_whitelist:
|
||||
ip_access:
|
||||
description: Array of IP addresses that are allowed to connect to the API as a user of this role.
|
||||
type: array
|
||||
items:
|
||||
@@ -120,7 +120,7 @@ patch:
|
||||
external_id:
|
||||
description: ID used with external services in SCIM.
|
||||
type: string
|
||||
ip_whitelist:
|
||||
ip_access:
|
||||
description: Array of IP addresses that are allowed to connect to the API as a user of this role.
|
||||
type: array
|
||||
items:
|
||||
|
||||
@@ -5,7 +5,7 @@ export type Role = {
|
||||
icon: string;
|
||||
enforce_tfa: null | boolean;
|
||||
external_id: null | string;
|
||||
ip_whitelist: string[];
|
||||
ip_access: string[];
|
||||
app_access: boolean;
|
||||
admin_access: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user