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

[16.0][fastapi] "FastAPI Endpoint Runner" access rights causes login error #367

Closed
moitabenfdz opened this issue Aug 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@moitabenfdz
Copy link

moitabenfdz commented Aug 1, 2023

Module

fastapi

Describe the bug

Having "FastAPI Endpoint Runner" access rights causes an 500 Internal Server Error when trying to login.

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:

  1. With fastapi installed, give an user "FastAPI Endpoint Runner" access rights.
  2. Try to log in with that user.

Expected behavior
You can log in without any problem.

Additional context
Tested in runboat

@moitabenfdz moitabenfdz added the bug Something isn't working label Aug 1, 2023
@moitabenfdz moitabenfdz changed the title fastapi: "FastAPI Endpoint Runner" access rights causes login error [16.0][fastapi] "FastAPI Endpoint Runner" access rights causes login error Aug 1, 2023
@drewes
Copy link

drewes commented Sep 6, 2023

@moitabenfdz I get a similar error. Error is as follows:

ValueError: <class 'NameError'>: "name 'authenticated_partner_id' is not defined" while evaluating " ['|', ('user_id', '=', user.id), ('id', '=', authenticated_partner_id)]"

Have any joy fixing the issue?

@lmignon
Copy link
Contributor

lmignon commented Feb 9, 2024

This issue should be fixed by #410

@lmignon lmignon closed this as completed Feb 9, 2024
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

Successfully merging a pull request may close this issue.

3 participants