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

Edit permission error #78

Open
twinkarma opened this issue Jan 23, 2025 · 0 comments
Open

Edit permission error #78

twinkarma opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@twinkarma
Copy link
Contributor

Getting this error when creating an organisation for the first time

ValueError at /organisation/create/

Could not find object parameter: instance

it seems to be that the permission system by default looks for an "instance" parameter inside the the kwargs or args

obj = kwargs.get(obj_param) or (args[0] if args else None)

but in the debugger there's no extra parameters and I don't see where it should be added. What is this obj_param meant to be? @yld-weng can you clarify?

@twinkarma twinkarma added the bug Something isn't working label Jan 23, 2025
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

1 participant