You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user which did not previously exist in tandoor signs in via oauth, they are able to view recipes as expected. Clicking on Meal Plan however gives a 'No Permission' error. This is true even if an alternate group is assigned.
Steps to reproduce:
In OIDC provider of choice, create a new user
Use this new user to access Tandoor
Observe that the new user is able to access Tandoor's recipes
Attempt to view meal plan
Observe 'No permission' display.
Add new user to 'user' group
Log out/log in and attempt to view meal plan
Observe 'No permission' display.
Add meal plan permissions explicitly to user
Log out/log in and attempt to view meal plan
Observe 'No permission' display.
Add user to admin and grant staff and superuser
Log out/log in and attempt to view meal plan
Observe 'No permission' display
Expected result:
When the user has appropriate permissions in Tandoor, I would expect them to be able to view the meal plan
Actual result:
A permissions denied error is displayed regardless of permissions
Configuration details:
Tandoor 1.5.20 hosted in a Proxmox LXC container via Community-Helper scripts ( formerly TTeck :( ). Application is hosted behind Cloudflare proxy, NGINX Proxy Manager and Authentik. I don't believe most of that will be relevant however.
I modified a template to print the groups the user is in by adding {{request.user.groups.all }} to the template. I've verified that the user is in the 'user' group.
Tandoor Version
1.5.20
Setup
Others (please state below)
Reverse Proxy
Nginx Proxy Manager (NPM)
Other
LXC in Proxmox via helper script
Bug description
Thanks for everything you do! Love the software
Description:
When a user which did not previously exist in tandoor signs in via oauth, they are able to view recipes as expected. Clicking on Meal Plan however gives a 'No Permission' error. This is true even if an alternate group is assigned.
Steps to reproduce:
Expected result:
When the user has appropriate permissions in Tandoor, I would expect them to be able to view the meal plan
Actual result:
A permissions denied error is displayed regardless of permissions
Configuration details:
Tandoor 1.5.20 hosted in a Proxmox LXC container via Community-Helper scripts ( formerly TTeck :( ). Application is hosted behind Cloudflare proxy, NGINX Proxy Manager and Authentik. I don't believe most of that will be relevant however.
OAuth configuration:
SOCIAL_PROVIDERS=allauth.socialaccount.providers.openid_connect
SOCIALACCOUNT_PROVIDERS={ "openid_connect": { "SERVERS": [{ "id": "authentik", "name": "Authentik", "server_url": "REDACTED", "token_auth_method": "client_secret_basic", "APP": { "client_id": "REDACTED", "secret": "REDACTED" } } ] } }
REMOTE_USER_AUTH=0
SOCIAL_DEFAULT_ACCESS=1
Relevant logs
The text was updated successfully, but these errors were encountered: