1
0

More unit tests (#34)

This commit is contained in:
konrad
2018-12-16 13:21:32 +00:00
committed by Gitea
parent 424dfe19af
commit 777d63dff1
30 changed files with 2019 additions and 10 deletions

View File

@ -44,7 +44,7 @@ func (ul *ListUser) ReadAll(search string, a web.Auth, page int) (interface{}, e
return nil, err
}
if !l.CanRead(u) {
return nil, ErrNeedToHaveListReadAccess{}
return nil, ErrNeedToHaveListReadAccess{UserID: u.ID, ListID: ul.ListID}
}
// Get all users