I gave my site ADMIN permission and now I would like to revoke it. How can I do that ? I haven't found a command to do it...
There is a function that allow us to do that https://github.com/HelloZeroNet/ZeroNet/blob/master/src/Ui/UiWebsocket.py#L815
But no api so we can call it.
I think it would be good to have a webpage where we can manage all of the permissions of all zites easily.
It could be added in config ?
Added the remove permission to the api : https://github.com/HelloZeroNet/ZeroNet/pull/1494
Just in case someone do the same mistake as me and is wondering how to remove a permission you can use siteCmd and in it you have permissionRemove. So you can do something like this.
python zeronet.py siteCmd 15t2dFCcxamJnPkp5yTFfxGReeFphvmnE4 permissionRemove ADMIN
It remove admin permission.
Most helpful comment
I think it would be good to have a webpage where we can manage all of the permissions of all zites easily.