mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixed issues in scope based autorization implementation
This commit is contained in:
parent
f675468e44
commit
48613018ab
@ -899,7 +899,7 @@ public interface DeviceManagementAdminService {
|
||||
message = "Internal Server Error. \n " +
|
||||
"Server error occurred while adding a new blacklist-applications operation.")
|
||||
})
|
||||
@Permission(scope = "device:android:blacklist-application", roles = {"admin"})
|
||||
@Permission(scope = "device:android:blacklist-applications", roles = {"admin"})
|
||||
Response blacklistApplications(
|
||||
@ApiParam(name = "blacklistApplicationsBeanWrapper", value = "BlacklistApplications " +
|
||||
"Configuration and DeviceIds")
|
||||
|
||||
@ -29,7 +29,7 @@ import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
@API(name = "Android Event Receiver", version = "1.0.0",
|
||||
context = "api-device-mgt-android-v1.0/configuration",
|
||||
context = "api-device-mgt-android-v1.0/events",
|
||||
tags = {"devicemgt_android"})
|
||||
|
||||
@Api(value = "Event Receiver", description = "Event publishing/retrieving related APIs.To enable Eventing need to" +
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>managed-api-enabled</param-name>
|
||||
<param-value>false</param-value>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>managed-api-owner</param-name>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user