diff --git a/storage/roles.go b/storage/roles.go index f881d0c..205fff0 100644 --- a/storage/roles.go +++ b/storage/roles.go @@ -93,3 +93,57 @@ type Role struct { CanManageAds *bool CanSendAnnouncements *bool } + +/* +Mastodon permissions (highest permission to lowest): +- Admin +- Devops +- View Audit log +- View Dashboard +- Manage Reports +- Manage Federation +- Manage Settings +- Manage Blocks +- Manage Taxonomies +- Manage Appeals +- Manage Users +- Manage Invites +- Manage Rules +- Manage Announcements +- Manage Custom Emojis +- Manage Webhooks +- Invite Users +- Manage Roles +- Manage User Access +- Delete User Data +*/ + +/* +Misskey "permissions" (no order): +- Global timeline available (interact with global timeline I think) +- Local timeline available (same as global, but for local) +- b-something timeline available +- Can send public notes +- How many mentions a note can have +- Can invite others +- How many invites can be sent +- InviteLimitCycle (whatever that means) +- Invite Expiration time (duration of how long invites stay valid I think) +- Manage custom emojis +- Manage custom avatar decorations +- Seach for notes +- Use translator +- Hide ads from self +- How much storage space the user has +- Whether to mark all posts from account as nsfw +- max number of pinned messages +- max number of antennas +- max number of muted words +- max number of webhooks +- max number of clips +- max number of notes contained in a clip (? I think. Don't know enough about clips) +- Max number of lists of users +- max number of users in a user list +- rate limit multiplier +- max number of applied avatar decorations +*/