wings/control/server.go
2017-06-29 12:24:18 +02:00

13 lines
318 B
Go

package control
// Server is a single instance of a Service managed by the panel
type Server struct {
Service *Service
}
// HasPermission checks wether a provided token has a specific permission
func (s *Server) HasPermission(token string, permission string) bool {
// TODO: properly implement this
return true
}