implemented team create method
This commit is contained in:
7
models/teams_rights.go
Normal file
7
models/teams_rights.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user