Fix roles by perm 27/46227/1
authorInstrumental <jonathan.gathman@att.com>
Fri, 4 May 2018 14:24:22 +0000 (09:24 -0500)
committerInstrumental <jonathan.gathman@att.com>
Fri, 4 May 2018 14:24:31 +0000 (09:24 -0500)
Issue-ID: AAF-267
Change-Id: I1799bc63fcb906a1ca2996bc4780170019ff6d62
Signed-off-by: Instrumental <jonathan.gathman@att.com>
auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java

index b567637..b66516e 100644 (file)
@@ -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()) {