added scopes to notification API

This commit is contained in:
mharindu 2016-07-04 14:11:51 +05:30
parent 60659ce15b
commit ff82accb48

View File

@ -142,9 +142,7 @@ public interface NotificationManagementService {
message = "Error occurred while updating notification status.") message = "Error occurred while updating notification status.")
} }
) )
@Permission( @Permission(scope = "notification:modify", roles = {"admin"}
scope = "",
permissions = { "" }
) )
Response updateNotificationStatus( Response updateNotificationStatus(
@ApiParam( @ApiParam(