oracle8.1.6
select element_id, name, description
from portal_elements
where element_id in (
select element_id
from portal_available_element_map
where acs_permission.permission_p(element_id, :user_id, 'read') = 't' and portal_id = :default_portal_id
minus
select element_id from portal_element_map where portal_id = :portal_id
)