mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into app-install-9211
This commit is contained in:
commit
1d712e1bc2
@ -79,11 +79,6 @@ 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) {
|
||||||
|
|||||||
@ -215,6 +215,7 @@
|
|||||||
<Scope>perm:android:google-account</Scope>
|
<Scope>perm:android:google-account</Scope>
|
||||||
<Scope>perm:android:info</Scope>
|
<Scope>perm:android:info</Scope>
|
||||||
<Scope>perm:windows:lock-devices</Scope>
|
<Scope>perm:windows:lock-devices</Scope>
|
||||||
|
<Scope>perm:windows:enroll</Scope>
|
||||||
<Scope>perm:windows:disenroll</Scope>
|
<Scope>perm:windows:disenroll</Scope>
|
||||||
<Scope>perm:windows:wipe</Scope>
|
<Scope>perm:windows:wipe</Scope>
|
||||||
<Scope>perm:windows:ring</Scope>
|
<Scope>perm:windows:ring</Scope>
|
||||||
@ -227,7 +228,7 @@
|
|||||||
<Scope>perm:android:clear-application</Scope>
|
<Scope>perm:android:clear-application</Scope>
|
||||||
<Scope>perm:android:suspend-package</Scope>
|
<Scope>perm:android:suspend-package</Scope>
|
||||||
<Scope>perm:android:alternate-install</Scope>
|
<Scope>perm:android:alternate-install</Scope>
|
||||||
<Scope>perm:ios:lock</Scope>
|
<Scope>perm:ios:lock</Scope>
|
||||||
<Scope>perm:ios:location</Scope>
|
<Scope>perm:ios:location</Scope>
|
||||||
<Scope>perm:ios:ring</Scope>
|
<Scope>perm:ios:ring</Scope>
|
||||||
<Scope>perm:ios:clear-passcode</Scope>
|
<Scope>perm:ios:clear-passcode</Scope>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user