e_martin:
it doesn't tell me what instance of a Portlet or Page it has access to
try this query, it will give you what you want. It takes Group code as the input, test it once please
select * from (
select distinct
all_groups.group_code,
all_groups.group_name,
(select name from cmn_captions_nls where table_name = 'CMN_SEC_GROUPS' and pk_id = g.id and language_code = 'en') right_name,
(select portlet_code from cmn_portlets cp1 where cp1.id = a.object_instance_id) portlet_code,
(select ccn.name from cmn_captions_nls ccn inner join cmn_portlets cp on cp.id =ccn.pk_id
where table_name = 'CMN_PORTLETS' and pk_id = a.object_instance_id and language_code = 'en') portlet_name,
g.description
from
CMN_SEC_ASSGND_OBJ_PERM a,
cmn_sec_groups_v g,
cmn_sec_groups_v all_groups,
odf_objects_v o
--cmn_sec_objects obj
where
a.principal_id = all_groups.id
and a.principal_type = 'GROUP'
and a.right_id = g.id
and g.right_type = o.right_code
and g.language_code = 'en'
and o.language_code = 'en'
and all_groups.language_code = 'en'
and g.right_type = 'CMN_PORTLETS'
and all_groups.group_code = 'Resource_Manager'
) where portlet_name is not null;