mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
added scopes to notification API
This commit is contained in:
parent
60659ce15b
commit
ff82accb48
@ -142,9 +142,7 @@ public interface NotificationManagementService {
|
||||
message = "Error occurred while updating notification status.")
|
||||
}
|
||||
)
|
||||
@Permission(
|
||||
scope = "",
|
||||
permissions = { "" }
|
||||
@Permission(scope = "notification:modify", roles = {"admin"}
|
||||
)
|
||||
Response updateNotificationStatus(
|
||||
@ApiParam(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user