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

user.id error #32

Closed
InzGIBA opened this issue Jul 4, 2020 · 1 comment
Closed

user.id error #32

InzGIBA opened this issue Jul 4, 2020 · 1 comment

Comments

@InzGIBA
Copy link

InzGIBA commented Jul 4, 2020

Errors occur when overriding PK on a field with a different name. For example, "uuid".
The reason for this is elif self.id_prefix + str(user.id) in principals: in the file "access_policy.py". Please fix it to str(user.pk).

Thank you for earlier.

@rsinger86
Copy link
Owner

Thanks for noting this. It's fixed now in latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants