GDI-HE / Mapbender2.8

Other
2 stars 0 forks source link

Betrieb - Delete WMC does not work #58

Open Andreasr28 opened 5 months ago

Andreasr28 commented 5 months ago

Meine Themen shows all of the current with guest created wmc. There is a button wich offers the possibilitie to delete the wmc. At the moment this button does not work.

Reproducible in this way: load Geoportal Hessen choose Kartenviewer function from the landing page go to Themen -> Meine Themen

grafik

Thes compilations shown in Meine Themen are created by users who are not logged in and none of these users should be able to delete a compilation that is not their own.

I suggest the followingtwo things:

Source mabe here mod_loadwmc_server.php

dpakprajul commented 5 months ago

grafik

@Andreasr28 the WMC which the user didn't created is disabled already (with a Crossed bin). The one that I created could be deleted by me, and the delete symbol is also enabled in this case. Do you think: is it necessary to remove the disabled delete button? grafik

My thought: 1) If the button be removed, user will be confused that why there is no delete symbol somewhere. In this case disabled delete button could be helpful. grafik

2) If its already disabled, it is not necessary to give more information on that. Disabled means they cannot interact with that button.

Andreasr28 commented 3 weeks ago

The view of the WMC is usually that of a guest user and not that of a logged-in user. I imagine that the delete buttons disappear and a message appears instead ... something like ...

or something like that