1
0

implemented team create method

This commit is contained in:
konrad
2018-07-14 17:34:59 +02:00
committed by kolaente
parent 376c649a12
commit e1c58843e9
8 changed files with 108 additions and 22 deletions

7
models/teams_rights.go Normal file
View File

@ -0,0 +1,7 @@
package models
// CanCreate checks if the user can create a new team
func (n *Team) CanCreate(user *User, id int64) bool {
// This is currently a dummy function, later on we could imagine global limits etc.
return true
}