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

fix: make sure anonymous is owner at create #2189

Merged
merged 7 commits into from
Oct 4, 2024

Conversation

yohanboniface
Copy link
Member

The tricky thing is that the Map.is_owner() method check for cookies on the request, but at create this cookie is not set yet on the request, so we have to deal with an exception here.

fix #2176

The tricky thing is that the Map.is_owner() method check for cookies
on the request, but at create this cookie is not set yet on the
request, so we have to deal with an exception here.

fix #2176
All is now orchestrated from a single method, instead of chaining
calls.
Also propagate share_status (this may be moved to permissions)
Let's try to make it simpler.
map.datalayers stores all datalayers
map.datalayers_index the non deleted ones sorted
@yohanboniface yohanboniface force-pushed the fix-anonymous-permissions-panel branch from 1b39340 to 03ae31c Compare October 4, 2024 15:35
@yohanboniface yohanboniface merged commit 8d59220 into master Oct 4, 2024
4 checks passed
@yohanboniface yohanboniface deleted the fix-anonymous-permissions-panel branch October 4, 2024 15:55
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

Successfully merging this pull request may close these issues.

Permissions panel is empty
3 participants