mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 00:33:50 +01:00
fd837776e2
* 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 |
||
---|---|---|
.. | ||
astointernal_test.go | ||
astointernal.go | ||
converter_test.go | ||
converter.go | ||
csv.go | ||
defaulticons.go | ||
frontendtointernal.go | ||
internal.go | ||
internaltoas_test.go | ||
internaltoas.go | ||
internaltofrontend_test.go | ||
internaltofrontend.go | ||
internaltorss_test.go | ||
internaltorss.go | ||
util_test.go | ||
util.go | ||
wrap_test.go | ||
wrap.go |