We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a user has only view permission, the map doesn't work because the JS fails (it was not tested in this scenario).
The text was updated successfully, but these errors were encountered:
I don't think it is due to the JS. If a user doesn't have change permissions, then these fields are not shown in ObjectLocation admin
I also found something in Django admin where we might found a possible fix 👇 https://github.com/django/django/blob/cf79f92abee2ff5fd4fdcc1a124129a9773805b8/django/contrib/admin/options.py#L674
Sorry, something went wrong.
I also found something in Django admin where we might found a possible fix https://github.com/django/django/blob/cf79f92abee2ff5fd4fdcc1a124129a9773805b8/django/contrib/admin/options.py#L674
That only affects ModelAdmin and not InlineAdmin.
I created a simple demo project with our use case and also posted in django-users mailing list for help.
Also, django-leaflet does not render map for view only permissions: makinacorpus/django-leaflet#85
No branches or pull requests
When a user has only view permission, the map doesn't work because the JS fails (it was not tested in this scenario).
The text was updated successfully, but these errors were encountered: