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

Betrieb - Delete WMC does not work #58

Open
Andreasr28 opened this issue Jun 7, 2024 · 2 comments
Open

Betrieb - Delete WMC does not work #58

Andreasr28 opened this issue Jun 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Andreasr28
Copy link

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:

  • Remove the option from the webform.
  • Add an information button into the the web form, wich informs abut the WMC handling.

Source mabe here mod_loadwmc_server.php

@Andreasr28 Andreasr28 added the enhancement New feature or request label Jun 7, 2024
@dpakprajul
Copy link
Collaborator

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 Andreasr28 changed the title Delete WMC does not work Betrieb - Delete WMC does not work Jul 22, 2024
@Andreasr28
Copy link
Author

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 ...

  • will be deleted automatically in 20 hours
  • can only be deleted by the owner
  • session wmc from the role guest are not deletable

or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants