GDI-HE / Mapbender2.8

Other
3 stars 0 forks source link

Delete WMC does not work #58

Open Andreasr28 opened 1 month ago

Andreasr28 commented 1 month 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 1 month 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.