mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
WiFi 5617 and ACL Error
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user