stephb9959
2023-02-27 22:22:31 -08:00
parent 38b9d6c231
commit ea4b1677f4

View File

@@ -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);
};
};