mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-31 18:57:51 +00:00 
			
		
		
		
	Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
		| @@ -34,7 +34,9 @@ namespace OpenWifi { | ||||
| 			return BadRequest(RESTAPI::Errors::SMSCouldNotValidate); | ||||
| 		} | ||||
|  | ||||
| 		if (UserInfo_.userinfo.userRole != SecurityObjects::ROOT && | ||||
|         if(Internal_) { | ||||
|             poco_information(Logger(),fmt::format("Internal SMS request: TID={}", TransactionId_)); | ||||
|         } else if (UserInfo_.userinfo.userRole != SecurityObjects::ROOT && | ||||
| 			UserInfo_.userinfo.userRole != SecurityObjects::PARTNER && | ||||
| 			UserInfo_.userinfo.userRole != SecurityObjects::ADMIN) { | ||||
| 			return UnAuthorized(RESTAPI::Errors::ACCESS_DENIED); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959