Details
I'm logged in as normal user. If I browse to the management page of a diffusion repository, e.g.
https://we.phorge.it/source/phorge/manage/
"Delete repository" is not grayed out. We also see this behavior in our own phorge instance.
I did not click the link, but shouldn't this be greyed out?! AND: It should def. not work to click it either.
Answers
Note that Phabricator/Phorge is somehow very safe from that perspective and does not allow nobody to delete any repository from the web interface :) So that button is safe and you can click it.
Related literature maybe appreciated:
https://we.phorge.it/book/phorge/article/permanently_destroying_data/
So even if you could have permissions, you would only see a command line tip to do that on CLI (since nothing can be destroyed from web usually, but only from command line).
We can improve the UX and feel free to report that under Diffusion + UX or something similar. Thanks!
Edited:
Feel free to follow the related follow-up:
T15964: "Delete Repository" button: it's a bit scaring (always active)