mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 09:42:38 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -54,15 +54,14 @@ namespace OpenWifi {
|
||||
return UnAuthorized(RESTAPI::Errors::ACCESS_DENIED);
|
||||
}
|
||||
|
||||
return OK();
|
||||
return BadRequest(RESTAPI::Errors::NotImplemented);
|
||||
};
|
||||
|
||||
inline void DoDelete() final{
|
||||
if(UserInfo_.userinfo.userRole!=SecurityObjects::ROOT) {
|
||||
return UnAuthorized(RESTAPI::Errors::ACCESS_DENIED);
|
||||
}
|
||||
MicroServiceDeleteOverrideConfiguration();
|
||||
return OK();
|
||||
return BadRequest(RESTAPI::Errors::NotImplemented);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user