mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-01-04 04:23:14 +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 |
||
---|---|---|
.. | ||
status_test.go | ||
status.go | ||
statusbookmark_test.go | ||
statusbookmark.go | ||
statusboost_test.go | ||
statusboost.go | ||
statusboostedby_test.go | ||
statusboostedby.go | ||
statuscontext.go | ||
statuscreate_test.go | ||
statuscreate.go | ||
statusdelete_test.go | ||
statusdelete.go | ||
statusfave_test.go | ||
statusfave.go | ||
statusfavedby_test.go | ||
statusfavedby.go | ||
statusget_test.go | ||
statusget.go | ||
statushistory_test.go | ||
statushistory.go | ||
statusmute_test.go | ||
statusmute.go | ||
statuspin_test.go | ||
statuspin.go | ||
statussource_test.go | ||
statussource.go | ||
statusunbookmark_test.go | ||
statusunbookmark.go | ||
statusunboost.go | ||
statusunfave_test.go | ||
statusunfave.go | ||
statusunmute.go | ||
statusunpin_test.go | ||
statusunpin.go |