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