added scopes to notification API

revert-70aa11f8
mharindu 9 years ago
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…
Cancel
Save