1
0

fmt + lint + docs

This commit is contained in:
konrad
2018-07-21 15:28:09 +02:00
committed by kolaente
parent 9979b7e321
commit 0487889963
5 changed files with 21 additions and 9 deletions

View File

@ -10,4 +10,4 @@ func (tn *TeamNamespace) CanCreate(user *User) bool {
func (tn *TeamNamespace) CanDelete(user *User) bool {
n, _ := GetNamespaceByID(tn.NamespaceID)
return n.IsAdmin(user)
}
}