WiFi 5617 and ACL Error

This commit is contained in:
stephb9959
2021-11-15 09:09:17 -08:00
parent c58728f38e
commit 5307b0b35a
2 changed files with 4 additions and 1 deletions

2
build
View File

@@ -1 +1 @@
82
84

View File

@@ -24,6 +24,9 @@ namespace OpenWifi {
if(User.userRole==SecurityObjects::ROOT)
return true;
if(User.Id == Target.Id)
return true;
if((User.userRole!=SecurityObjects::ADMIN && Target.userRole!=SecurityObjects::ROOT) && Op!=READ)
return false;