implemented creation of thing via parambinder
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package models
|
||||
|
||||
// CanCreate checks if the user can create a new team
|
||||
func (t *Team) CanCreate(user *User, id int64) bool {
|
||||
func (t *Team) CanCreate(user *User) bool {
|
||||
// This is currently a dummy function, later on we could imagine global limits etc.
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user