mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'windows-fixes' into 'master'
Temp fix for windows enrollment permission url mismatch See merge request entgra/carbon-device-mgt!877
This commit is contained in:
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…
Reference in New Issue
Block a user