freifunk / openwrt-packages

Freifunk specific global OpenWrt Packages
Apache License 2.0
26 stars 33 forks source link

mod-freifunk: fix LuCI-error when selecting "Freifunk" (seems related to dropping privileges) #44

Closed SvenRoederer closed 2 years ago

SvenRoederer commented 3 years ago

based on the findings in https://github.com/freifunk/openwrt-packages/issues/33#issuecomment-835891129 make the Freifunk-Mod usable again.

This is just an WIP-draft for explicit discussion to find a proper fix.

SvenRoederer commented 2 years ago

When removing the code that drops the privileges the error will not happen and the site will render. In PR #54 @andibraeu migrated the code to the new JS-based world which relies on RPCd. This new code seems to have stopped dropping the privileges at all, which seems acceptable as accesscontrol will be done by the RPCd.

SvenRoederer commented 2 years ago

closing in favour of merge PR #54