gotosocial/docs/api
Vyr Cossont fd837776e2
[feature] Implement Mastodon-compatible roles (#3136)
* Implement Mastodon-compatible roles

- `Account.role` should only be available through verify_credentials for checking current user's permissions
- `Account.role` now carries a Mastodon-compatible permissions bitmap and a marker for whether it should be shown to the public
- `Account.roles` added for *public* display roles (undocumented but stable since Mastodon 4.1)
- Web template now uses only public display roles (no user-visible change here, we already special-cased the `user` role)

* Handle verify_credentials case for default role

* Update JSON exact-match tests

* Address review comments

* Add blocks bit to admin permissions bitmap
2024-07-31 09:26:09 -07:00
..
authentication.md [docs] Tidy up API auth docs a little bit (#3050) 2024-06-28 15:27:47 +02:00
ratelimiting.md [feature] Add rate limit exceptions option, use ISO8601 for rate limit reset (#2151) 2023-08-23 14:32:27 +02:00
swagger.md [chore/docs] Various little docs updates (#2691) 2024-02-27 14:39:22 +00:00
swagger.yaml [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
throttling.md [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00