From: <pn...@hy...> - 2009-11-13 18:31:47
|
Author: pnguyen Date: 2009-11-13 10:31:35 -0800 (Fri, 13 Nov 2009) New Revision: 13941 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=13941 Modified: trunk/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java Log: [HHQ-3473] Use service prototype instead of service Modified: trunk/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java =================================================================== --- trunk/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java 2009-11-12 18:15:22 UTC (rev 13940) +++ trunk/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java 2009-11-13 18:31:35 UTC (rev 13941) @@ -436,7 +436,7 @@ Integer protoType = prototype.getResourceType().getId(); if (protoType.equals(AuthzConstants.authzPlatformProto) || protoType.equals(AuthzConstants.authzServerProto) || - protoType.equals(AuthzConstants.authzService)) { + protoType.equals(AuthzConstants.authzServiceProto)) { hql += " or g.groupType = " + AppdefEntityConstants.APPDEF_TYPE_GROUP_ADHOC_PSS; } else if (protoType.equals(AuthzConstants.authzApplicationProto)) { |