Jefferson49/RepositoryHierarchy

1.3.9 delete icon visible to guests and member without edit rights

HerzScheisse opened this issue · 1 comments

Hi Jefferson49,

I fear that you can read my thoughts :D
while playing and using your module really often, a while ago i thought it would be cool if we have a delete button for sources... and now you braught this to life... Thank you...

anyway.. while updating the module, i noticed that the delete icon is visible to guests and also to members which dont have editor rights... I also can click on that icon an the page gets refreshed.. but the source is not deleted, and also dont got a error message...

Is it just me or do you also have this icon visible? I checked your family page but dont see the icon.. but i also dont know if you have the latest update installed...

2024-02-17 17_57_56-Window

Kind regards,
Holger

Hallo Holger,

thank you for reporting the issue!

Indeed, this is wrong. For copy/paste of sources, I added a check if the logged in user has the rights to edit the fact. Unfortunatelly, I forgot to add the same check for the delete and move icons.

I have already tested a bugfix.

Grüße

Markus