mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Renamed prefix of scopes
This commit is contained in:
parent
a829c384d3
commit
d13dadff08
@ -57,7 +57,7 @@ import javax.ws.rs.core.Response;
|
||||
@Scope(
|
||||
name = "Get activities",
|
||||
description = "Get activities",
|
||||
key = "cdmf:get-activity",
|
||||
key = "perm:get-activity",
|
||||
permissions = {"/device-mgt/devices/owning-device/view"}
|
||||
)
|
||||
}
|
||||
@ -77,7 +77,7 @@ public interface ActivityInfoProviderService {
|
||||
tags = "Activity Info Provider",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "cdmf:get-activity")
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "perm:get-activity")
|
||||
})
|
||||
}
|
||||
)
|
||||
@ -150,7 +150,7 @@ public interface ActivityInfoProviderService {
|
||||
tags = "Activity Info Provider",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "cdmf:get-activity")
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "perm:get-activity")
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
@ -68,13 +68,13 @@ import javax.ws.rs.core.Response;
|
||||
@Scope(
|
||||
name = "View configurations",
|
||||
description = "",
|
||||
key = "cdmf:view-configuration",
|
||||
key = "perm:view-configuration",
|
||||
permissions = {"/device-mgt/platform-configurations/view"}
|
||||
),
|
||||
@Scope(
|
||||
name = "Manage configurations",
|
||||
description = "",
|
||||
key = "cdmf:manage-configuration",
|
||||
key = "perm:manage-configuration",
|
||||
permissions = {"/device-mgt/platform-configurations/manage"}
|
||||
)
|
||||
}
|
||||
@ -92,7 +92,7 @@ public interface ConfigurationManagementService {
|
||||
tags = "Configuration Management",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "cdmf:view-configuration")
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "perm:view-configuration")
|
||||
})
|
||||
}
|
||||
)
|
||||
@ -151,7 +151,7 @@ public interface ConfigurationManagementService {
|
||||
tags = "Configuration Management",
|
||||
extensions = {
|
||||
@Extension(properties = {
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "cdmf:manage-configuration")
|
||||
@ExtensionProperty(name = Constants.SCOPE, value = "perm:manage-configuration")
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user