Filter owning-entities from /category_parameter by permissions 31/101531/2
authorIttay Stern <ittay.stern@att.com>
Tue, 11 Feb 2020 11:56:54 +0000 (13:56 +0200)
committerIttay Stern <ittay.stern@att.com>
Tue, 11 Feb 2020 12:34:33 +0000 (14:34 +0200)
commit7bc81973c823789debc000858f7777d120709ac4
treec97627390ff5f28ef56e347e266a7f1a41f43ff0
parent45b0eb72cde7a950579e74c62bee198e0a36acf7
Filter owning-entities from /category_parameter by permissions

Implemented in CategoryParameterServiceWithRoles and injected
to MaintenanceController, but still reachable because
shouldTreatPermissions() is "false".

Issue-ID: VID-758

Change-Id: I716202ca944af9b0de9c151d75d50b5df41a8171
Signed-off-by: Ittay Stern <ittay.stern@att.com>
vid-app-common/src/main/java/org/onap/vid/controller/PropertyController.java
vid-app-common/src/main/java/org/onap/vid/services/CategoryParameterServiceImpl.java
vid-app-common/src/main/java/org/onap/vid/services/CategoryParameterServiceWithRoles.kt [new file with mode: 0644]
vid-app-common/src/test/java/org/onap/vid/controller/PropertyControllerTest.java
vid-app-common/src/test/java/org/onap/vid/services/CategoryParameterServiceWithRolesTest.kt [new file with mode: 0644]