Description
Bug Description
Sign in as a different user, can't see links in a list created by a different user.
domain/lists shows list tile with a 1 link in list
click on
domain/lists/{list_id}
No Links Found
All links / lists are set to internal
Issue also happens with links and lists set as public
guest mode works but logged in user can't see what guest can see.
How to reproduce
brand new docker with mariadb
Create 2 users
user 1 creates a list with visibility of internal
user 1 creates a link with visibility of internal and assigns list above
login as user 2:
user 2 clicks on /lists and can see list tile is with "1 link in List".
user 2 clicks on /lists/{list_id} .. shows .. No Links Found
create api key for user 1 and user 2
curl with both api keys
user1 api key
api/v2/lists/1/links shows the link created by user1
user2 api key
api/v2/lists/1/links shows the link created by user1
Expected behavior
/lists/{listid} should show 1 link as all visibility is set to internal
the api reflects this functionality
Logs
Screenshots
No response
LinkAce version
v2.1.0
Setup Method
Docker
Operating System
Linux (Ubuntu, CentOS,...)
Client details
No response