linstrom/storage/roles.go

11 lines
286 B
Go

package storage
type Role struct {
// Name of the role
Name string
// If set, counts as all permissions being set and all restrictions being disabled
FullAdmin bool
// TODO: More control options
// Extend upon whatever Masto, Akkoma and Misskey have
// Lots of details please
}