Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dashboards] Unmark restricted_roles as deprecated #1976

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:26.500720",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 14:59:02.750902",
"spec_repo_commit": "9d0fb25e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:26.515806",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 14:59:02.766182",
"spec_repo_commit": "9d0fb25e"
}
}
}
7 changes: 1 addition & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1209,13 +1209,8 @@ components:
reflow_type:
$ref: '#/components/schemas/DashboardReflowType'
restricted_roles:
deprecated: true
description: 'A list of role identifiers. Only the author and users associated
description: A list of role identifiers. Only the author and users associated
with at least one of these roles can edit this dashboard.


This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/)
instead to manage write authorization for individual dashboards.'
items:
description: A role UUID.
type: string
Expand Down
2 changes: 0 additions & 2 deletions packages/datadog-api-client-v1/models/Dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export class Dashboard {
"reflowType"?: DashboardReflowType;
/**
* A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
*
* This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
*/
"restrictedRoles"?: Array<string>;
/**
Expand Down
Loading