Open Andreasr28 opened 5 months ago
@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?
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.
2) If its already disabled, it is not necessary to give more information on that. Disabled means they cannot interact with that button.
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
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
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