diff --git a/pkg/models/task_collection.go b/pkg/models/task_collection.go index 60e2c1fbc..33a3c497b 100644 --- a/pkg/models/task_collection.go +++ b/pkg/models/task_collection.go @@ -193,7 +193,7 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa projects = append(projects, project) } } else { - // Check the project exists and the user has acess on it + // Check the project exists and the user has access on it project := &Project{ID: tf.ProjectID} canRead, _, err := project.CanRead(s, a) if err != nil {