mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Duplicate keys for same permission in different files
This commit is contained in:
parent
8180baefd9
commit
939b2c7e83
@ -67,7 +67,7 @@ import javax.ws.rs.core.Response;
|
||||
@Scope(
|
||||
name = "Enroll Device",
|
||||
description = "Register an Android device",
|
||||
key = "and:conf:devices:enroll",
|
||||
key = "and:devices:enroll",
|
||||
roles = {"Internal/devicemgt-user"},
|
||||
permissions = {"/device-mgt/devices/enroll/android"}
|
||||
),
|
||||
@ -208,7 +208,7 @@ public interface DeviceTypeConfigurationService {
|
||||
tags = "Android Configuration Management",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:conf:devices:enroll")
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:devices:enroll")
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
@ -67,7 +67,7 @@ import javax.ws.rs.core.Response;
|
||||
@Scope(
|
||||
name = "Enroll Device",
|
||||
description = "Register an Android device",
|
||||
key = "and:event:devices:enroll",
|
||||
key = "and:devices:enroll",
|
||||
roles = {"Internal/devicemgt-user"},
|
||||
permissions = {"/device-mgt/devices/enroll/android"}
|
||||
)
|
||||
@ -86,7 +86,7 @@ public interface EventReceiverService {
|
||||
tags = "Event Receiver",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:event:devices:enroll")
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:devices:enroll")
|
||||
})
|
||||
}
|
||||
)
|
||||
@ -149,7 +149,7 @@ public interface EventReceiverService {
|
||||
tags = "Event Receiver",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:event:devices:enroll")
|
||||
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:devices:enroll")
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
@ -13,8 +13,7 @@
|
||||
"and:ops:lock-devices",
|
||||
"and:ops:configure-vpn",
|
||||
"and:ops:configure-wifi",
|
||||
"and:conf:devices:enroll",
|
||||
"and:event:devices:enroll",
|
||||
"and:devices:enroll",
|
||||
"and:ops:uninstall-app",
|
||||
"and:conf:manage",
|
||||
"and:ops:location",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user