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 get filter layer saved with anonymous user. #654

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Conversation

wlorenzetti
Copy link
Member

Closes: #653
Related to PR: #623

Only not anonymous user can save the expression filter make by selection on webgis client.

@wlorenzetti wlorenzetti added the bug Something isn't working label Nov 14, 2023
@wlorenzetti wlorenzetti added this to the v3.7 milestone Nov 14, 2023
@wlorenzetti wlorenzetti self-assigned this Nov 14, 2023
@wlorenzetti
Copy link
Member Author

@tudorbarascu you can try this branch and check, thanks.

@tudorbarascu
Copy link
Contributor

@wlorenzetti I tried and it fixes things! Thanks!

@wlorenzetti wlorenzetti marked this pull request as ready for review November 14, 2023 11:06
@wlorenzetti wlorenzetti merged commit a74edf8 into dev Nov 14, 2023
4 checks passed
@wlorenzetti wlorenzetti deleted the Fix_issue_653 branch November 14, 2023 11:06
wlorenzetti added a commit that referenced this pull request Nov 15, 2023
wlorenzetti added a commit that referenced this pull request Nov 24, 2023
* Add GEOCODING_PROVIDERS setting.

* Add geocoding_providers to qdjango.project model.

* Update base settings GEOCODING_PROVIDERS.

* Add qdjango utility: get_geocoding_providers.

* Add geocoding_provider CRUD.

* Change initconfig API REST proeperty group.mapcontrols from list to dict.

* Fix for update projects with geocoding_providers empty or None.

* Check for geocoding_providers is empty.

* Update geoconding_providers qdjango.project field for backward compatibility.

* Fix test.

* Add sql to migration for change mapcontrol nominatim in geocoding

* Update mapcontrol structure

* Change from 'provider' to 'providers' inside the options of mapcontrol 'geocoding'.

* Change from 'provider' to 'providers' inside the options of mapcontrol 'geocoding'.

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client#505
    editing: g3w-suite/g3w-client-plugin-editing#72

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client@bf79291

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client@d610c3e

* Small fix.

* Typo.

* Add email exists check on recovery username form.

* Refactoring and add settings to reset password and user recovery email templates.

* ✨ Change password at first login (#650)

* Add PASSWORD_CHANGE_FIRST_LOGIN setting.

* Add change_password_first_login property to Userdata model.

* Create custom G3WSetPasswordForm and custom G3WLoginView to use for change password at first login workflow.

* Start testing.

* Testing.

* Split change password at first login from reset password workflow.

* Create a custom view for confirm reset password to split User rest password workflow from Change password at first login worflow.

* Override settings fix.

---------

Co-authored-by: wlorenzetti <[email protected]>

* ✨ Add support to qgis `'postgresraster'` layer (#652)

* Add 'postgresraster' qgis layer type support.

* ⬆️ Client:
    g3w-client :g3w-suite/g3w-client#519

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>

* Fix get filter layer saved with anonymous user. (#654)

Co-authored-by: wlorenzetti <[email protected]>

* Typo

* Fix importing project with RelationReference widget

* Fix migrations.

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client@1a8c128

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client#505

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client#505 Missing svg icon

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client@23227b6

* ⬆️ Client:
    g3w-client : g3w-suite/g3w-client@573bc3b

* ⬆️ Client:
    g3w-client :g3w-suite/g3w-client@bfd21d6
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@546be8b

* ⬆️ Client:
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@8e2a163

* ⬆️ Client:
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@bfc43de

* ⬆️ Client:
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@cfd558d

* ⬆️ Client:
    g3w-client: g3w-suite/g3w-client@7ac2a8c

* mispelling

* ⬆️ Client:
    g3w-client: g3w-suite/g3w-client@ad1b3c2
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@21cc247

* Remove 'Bing' from default value of 'GEOCODING_PROVIDERS' setting.

* ⬆️ Client:
    g3w-client: g3w-suite/g3w-client@b23276b

* ⬆️ Client:
    g3w-client: Add geocoding providers folder

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>
Co-authored-by: Raruto <[email protected]>
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 this pull request may close these issues.

Upgrading to dev to test the registration system breaks the anonymous user access
2 participants