summaryrefslogtreecommitdiffstats
path: root/auth/auth-service
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-05-04 09:24:22 -0500
committerInstrumental <jonathan.gathman@att.com>2018-05-04 09:24:31 -0500
commit0720d87f274b8f8aee8c5801511ac60cad65a33c (patch)
treeaeb8b617d12099678e750be6450de5b9371f7577 /auth/auth-service
parent0e1fba6c952321a4c194d55efe1f1ece1f5c33a4 (diff)
Fix roles by perm
Issue-ID: AAF-267 Change-Id: I1799bc63fcb906a1ca2996bc4780170019ff6d62 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-service')
-rw-r--r--auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
index b5676372..b66516e0 100644
--- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
+++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
@@ -1739,7 +1739,7 @@ public class AuthzCassServiceImpl <NSS,PERMS,PERMKEY,ROLES,USERS,USERROLES,DELGS
@Override
public Result<ROLES> getRolesByPerm(AuthzTrans trans, String type, String instance, String action) {
final Validator v = new ServiceValidator();
- if(v.permType(type,null)
+ if(v.permType(type)
.permInstance(instance)
.permAction(action)
.err()) {