mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-02 21:30:45 +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 |
||
---|---|---|
.. | ||
accountaction.go | ||
accountapprove.go | ||
accountget.go | ||
accountreject.go | ||
accountsgetv1.go | ||
accountsgetv2_test.go | ||
accountsgetv2.go | ||
admin_test.go | ||
admin.go | ||
debug_off.go | ||
debug_on.go | ||
domainallowcreate.go | ||
domainallowdelete.go | ||
domainallowget.go | ||
domainallowsget.go | ||
domainblockcreate.go | ||
domainblockdelete.go | ||
domainblockget.go | ||
domainblocksget.go | ||
domainkeysexpire.go | ||
domainpermission.go | ||
emailtest.go | ||
emojicategoriesget_test.go | ||
emojicategoriesget.go | ||
emojicreate_test.go | ||
emojicreate.go | ||
emojidelete_test.go | ||
emojidelete.go | ||
emojiget_test.go | ||
emojiget.go | ||
emojisget_test.go | ||
emojisget.go | ||
emojiupdate_test.go | ||
emojiupdate.go | ||
headerfilter_create.go | ||
headerfilter_delete.go | ||
headerfilter_get.go | ||
headerfilter.go | ||
mediacleanup_test.go | ||
mediacleanup.go | ||
mediarefetch.go | ||
reportget.go | ||
reportresolve_test.go | ||
reportresolve.go | ||
reportsget_test.go | ||
reportsget.go | ||
rulecreate.go | ||
ruledelete.go | ||
ruleget.go | ||
rulesget.go | ||
ruleupdate.go |