Task assignees (#44)
This commit is contained in:
parent
37345e6bd3
commit
d39007baa0
15 changed files with 226 additions and 57 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue