vikunja-api/models/rights.go

8 lines
106 B
Go
Raw Normal View History

package models
type Rights interface {
IsAdmin(*User) bool
CanWrite(*User) bool
CanRead(*User) bool
}