Temp fix for windows enrollment permission url mismatch

temp
navodzoysa 3 years ago
parent 946a12b84d
commit cf0be2ad93

@ -79,6 +79,11 @@ public class PermissionAuthorizer {
matchingResources.add(new MatchingResource(permission.getUrlPattern().replace(context, ""), permission.getPath())); matchingResources.add(new MatchingResource(permission.getUrlPattern().replace(context, ""), permission.getPath()));
} }
} }
//TODO :: Temporary fix for windows bst api url mismatch error
else if ("/api/device-mgt/windows/v1.0/bst/authentication".equals(permission.getUrl())) {
requiredPermission = "/permission/admin/device-mgt/devices/enroll/windows";
break;
}
} }
if (requiredPermission == null) { if (requiredPermission == null) {

Loading…
Cancel
Save