Duplicate keys for same permission in different files

Certificate-identifire
Viranga Gunarathna 1 year ago
parent 6c8c2efb80
commit 9e0427021e

@ -89,7 +89,7 @@ import javax.ws.rs.core.Response;
@Scope(
name = "Getting Details of Policies",
description = "Getting Details of Policies",
key = "dm:device-type:policies:view",
key = "dm:policies:view",
roles = {"Internal/devicemgt-user"},
permissions = {"/device-mgt/policies/view"}
)

@ -84,7 +84,7 @@ import java.util.List;
@Scope(
name = "Getting Details of Policies",
description = "Getting Details of Policies",
key = "pm:policies:view",
key = "dm:policies:view",
roles = {"Internal/devicemgt-user"},
permissions = {"/device-mgt/policies/view"}
),
@ -306,7 +306,7 @@ public interface PolicyManagementService {
tags = "Device Policy Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "pm:policies:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:policies:view")
})
}
)
@ -790,7 +790,7 @@ public interface PolicyManagementService {
tags = "Device Policy Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "pm:policies:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:policies:view")
})
},
nickname = "getPoliciesFilteredByType"
@ -874,7 +874,7 @@ public interface PolicyManagementService {
tags = "Device Policy Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "pm:policies:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:policies:view")
})
}
)

@ -70,7 +70,7 @@ import java.util.List;
@Scope(
name = "Getting Details of Registered Devices",
description = "Getting Details of Registered Devices",
key = "rep:devices:view",
key = "dm:devices:view",
roles = {"Internal/devicemgt-user"},
permissions = {"/device-mgt/devices/owning-device/view"}
),
@ -93,7 +93,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -177,7 +177,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -249,7 +249,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -327,7 +327,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -386,7 +386,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -436,7 +436,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -511,7 +511,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)
@ -579,7 +579,7 @@ public interface ReportManagementService {
tags = "Device Management",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "rep:devices:view")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:devices:view")
})
}
)

@ -157,7 +157,7 @@ import javax.ws.rs.core.Response;
@Scope(
name = "Get activities",
description = "Get activities",
key = "um:activity:get",
key = "dm:activity:get",
roles = {"Internal/devicemgt-user"},
permissions = {"/device-mgt/devices/owning-device/view"}
),
@ -955,7 +955,7 @@ public interface UserManagementService {
tags = "Activity Info Provider",
extensions = {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "um:activity:get")
@ExtensionProperty(name = Constants.SCOPE, value = "dm:activity:get")
})
}
)

@ -99,7 +99,6 @@
"dm:devices:details",
"dm:devices:update",
"dm:devices:view",
"rep:devices:view",
"dm:conf:view",
"dm:conf:manage",
"pm:policies:remove",
@ -110,8 +109,7 @@
"pm:policies:activate",
"pm:policies:update",
"pm:policies:change",
"pm:policies:view",
"dm:device-type:policies:view",
"dm:policies:view",
"um:users:add",
"um:users:details:view",
"um:users:count",
@ -124,7 +122,6 @@
"um:users:update",
"um:users:invite",
"um:admin:users:view",
"um:activity:get",
"dm:admin:enrollment:update",
"gm:devices:view",
"gm:groups:update",

@ -231,7 +231,6 @@
<Scope>dm:devices:update</Scope>
<Scope>dm:devices:view</Scope>
<Scope>dm:devices:enrollment-guide:view</Scope>
<Scope>rep:devices:view</Scope>
<Scope>dm:conf:view</Scope>
<Scope>dm:conf:manage</Scope>
<Scope>pm:policies:remove</Scope>
@ -242,8 +241,7 @@
<Scope>pm:policies:activate</Scope>
<Scope>pm:policies:update</Scope>
<Scope>pm:policies:change</Scope>
<Scope>pm:policies:view</Scope>
<Scope>dm:device-type:policies:view</Scope>
<Scope>dm:policies:view</Scope>
<Scope>um:users:add</Scope>
<Scope>um:users:details:view</Scope>
<Scope>um:users:count</Scope>
@ -256,7 +254,6 @@
<Scope>um:users:update</Scope>
<Scope>um:users:invite</Scope>
<Scope>um:admin:users:view</Scope>
<Scope>um:activity:get</Scope>
<Scope>dm:admin:enrollment:update</Scope>
<Scope>gm:devices:view</Scope>
<Scope>gm:groups:update</Scope>

Loading…
Cancel
Save