Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview of recipes shows entries from any user #50

Closed
LunaticTazz opened this issue Sep 4, 2019 · 2 comments
Closed

Overview of recipes shows entries from any user #50

LunaticTazz opened this issue Sep 4, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@LunaticTazz
Copy link

Hi,
I have noticed a behaviour, that as soon as you open the app "cookbook", you will always see all the recipes of the last user who refreshed his/her library. Every user has to rescan his recipes once he/she enters the app which then starts the cycle again.
This might have to do with caching or my server configuration, but I think the easiest way out would be an automated rescan with the start of the app. Either this, or a database which is user specific.

Let me know if you experience any similar behaviour.

Nextcloud Version 15.0.11
Cookbook Version 0.3.3
PHP 7.0.33-0+9deb9u3
Tested with Firefox 68.0.2 and Chromium 76.0.3809.100

@mrzapp mrzapp self-assigned this Sep 5, 2019
@mrzapp mrzapp added the bug Something isn't working label Sep 5, 2019
@mrzapp
Copy link
Contributor

mrzapp commented Sep 5, 2019

It's an oversight on my part, we need to add a "user id" column to the database schema and only let the current user change those records.

@christianlupus if you have time, would you mind checking this one out? If not, I will get to it as soon as I can.

@mrzapp mrzapp closed this as completed in 3d2fe58 Sep 10, 2019
@mrzapp
Copy link
Contributor

mrzapp commented Sep 10, 2019

@LunaticTazz a new release, v0.4.0 is up now. You will have to rescan the library (Settings > Rescan library) for every user to see the recipes again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants