Merge branch 'windows-fixes' into 'master'

Temp fix for windows enrollment permission url mismatch

See merge request entgra/carbon-device-mgt!877
feature/traccar-sync
Pahansith Gunathilake 3 years ago
commit 19872ea3b5

@ -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