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 #2335

Merged
Merged
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": "2025-01-06 19:03:08.173026",
"spec_repo_commit": "b56ea2d7"
"regenerated": "2025-01-07 19:53:46.976483",
"spec_repo_commit": "d63fa330"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-06 19:03:08.194805",
"spec_repo_commit": "b56ea2d7"
"regenerated": "2025-01-07 19:53:46.990711",
"spec_repo_commit": "d63fa330"
}
}
}
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 src/datadog_api_client/v1/model/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ def __init__(
:type reflow_type: DashboardReflowType, optional

:param restricted_roles: 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. **Deprecated**.
:type restricted_roles: [str], optional

:param tags: List of team names representing ownership of a dashboard.
Expand Down
Loading