[chore] Use rename deprecations for Enduser #2602 (#2604)

This commit is contained in:
James Thompson 2025-08-13 13:37:07 +10:00 committed by GitHub
parent 90a6bfa00a
commit ea0935fb21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -31,5 +31,5 @@ Describes deprecated enduser attributes.
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. | `admin` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Use `user.roles` attribute instead. |
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. | `admin` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `user.roles`. |
| <a id="enduser-scope" href="#enduser-scope">`enduser.scope`</a> | string | Deprecated, no replacement at this time. | `read:message, write:files` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, no replacement at this time. |

View File

@ -7,8 +7,8 @@ groups:
- id: enduser.role
type: string
deprecated:
reason: uncategorized
note: "Use `user.roles` attribute instead."
reason: renamed
renamed_to: user.roles
stability: development
brief: "Deprecated, use `user.roles` instead."
examples: 'admin'