umap/umap/tests
Yohan Boniface c36ea1e4b8 Fix error when trying to change map owner
This bug has been introduced with this change:

8b4842ff21

That was not the correct fix, and this one should be the proper one.

We don't want to edit the permissions reference until we do save, otherwise user
cannot save as it is already no more the owner.

So:
- change permissions.options
- save
- commit those changes to map.options.permissions
- use only those values to check for isOwner and isAnonymousMap
2023-09-22 17:34:44 +02:00
..
fixtures Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
integration Fix error when trying to change map owner 2023-09-22 17:34:44 +02:00
__init__.py Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
base.py Tests: reuse name var 2023-09-22 17:32:19 +02:00
conftest.py Make sure to select only editable layers for attachin to features 2023-09-22 17:32:19 +02:00
settings.py WIP: final bit to make sending edit link working 2023-05-31 17:05:57 +02:00
test_datalayer.py Add DataLayer.INHERIT edit status option 2023-09-22 17:32:19 +02:00
test_datalayer_views.py Add DataLayer.INHERIT edit status option 2023-09-22 17:32:19 +02:00
test_licence.py Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
test_map.py Add back Map.edit_status 2023-09-22 17:32:19 +02:00
test_map_views.py Add back Map.edit_status 2023-09-22 17:32:19 +02:00
test_tilelayer.py Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
test_utils.py iwyu 2023-02-27 13:50:37 +01:00
test_views.py Add back Map.edit_status 2023-09-22 17:32:19 +02:00