Fix team rights not updating for namespace rights
This commit is contained in:
@ -220,7 +220,7 @@ func (tn *TeamNamespace) Update() (err error) {
|
||||
}
|
||||
|
||||
_, err = x.
|
||||
Where("namespace_id = ? AND team_id = ?", tn.TeamID, tn.TeamID).
|
||||
Where("namespace_id = ? AND team_id = ?", tn.NamespaceID, tn.TeamID).
|
||||
Cols("right").
|
||||
Update(tn)
|
||||
return
|
||||
|
Reference in New Issue
Block a user