1
0

Task assignees (#44)

This commit is contained in:
konrad
2018-12-29 14:29:50 +00:00
committed by Gitea
parent 37345e6bd3
commit d39007baa0
15 changed files with 226 additions and 57 deletions

View File

@ -69,7 +69,12 @@ func (l *List) CanRead(a web.Auth) bool {
return true
}
return l.checkListTeamRight(user, TeamRightRead)
if l.checkListTeamRight(user, TeamRightRead) {
return true
}
// Users who are able to write should also be able to read
return l.CanWrite(a)
}
// CanDelete checks if the user can delete a list