Zeronet: Visitors are able to install plugins on proxies

Created on 17 Aug 2019  路  4Comments  路  Source: HelloZeroNet/ZeroNet

I was able to install the example plugin and restart the proxy here:

https://awesome-zeronet.herokuapp.com/12pPwpQ3wSoEtvN549ZVGUpj3HejtBrX3k/

Permission isn't denied.

Most helpful comment

I have changed the permission list to function decorators in the latest rev: https://github.com/HelloZeroNet/ZeroNet/commit/376fd0d43957a31271bff12e99b0fe8951402b66

This is more error-proof as it follows the function renames and typos.

All 4 comments

Hotfix: pluginAdd -> pluginAddRequest in MultiuserPlugin.py.

Thanks for reporting, I just fixed it: https://github.com/HelloZeroNet/ZeroNet/commit/1d5bde01cc85efdea4c37d238885d04de0c42362

This is not the first time of this type of error: The current way of handling the permissions of the commands are potential source of errors. I'm working on a better, function-decorator based command flagging.

I have changed the permission list to function decorators in the latest rev: https://github.com/HelloZeroNet/ZeroNet/commit/376fd0d43957a31271bff12e99b0fe8951402b66

This is more error-proof as it follows the function renames and typos.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trenta3 picture trenta3  路  3Comments

DaniellMesquita picture DaniellMesquita  路  3Comments

iShift picture iShift  路  3Comments

DaniellMesquita picture DaniellMesquita  路  3Comments

Forbo picture Forbo  路  3Comments