mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
netmode: fix acl for netmodes
This commit is contained in:
parent
338ed66325
commit
8756e51e1f
1 changed files with 2 additions and 0 deletions
|
|
@ -386,7 +386,9 @@ populate_netmodes() {
|
|||
if json_select acl; then
|
||||
_i=1
|
||||
while json_get_var user $_i; do
|
||||
uci del_list netmode.$mode._access_r="$user"
|
||||
uci del_list netmode.$mode._access_w="$user"
|
||||
uci add_list netmode.$mode._access_r="$user"
|
||||
uci add_list netmode.$mode._access_w="$user"
|
||||
_i=$((_i+1))
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue