Cristian Ozan - 2025-01-20

Hello
I created an extension that allows documents to be viewed from the portal, but I have a problem with the 'ignore_silos' tag. Despite defining the variable correctly, it doesn't make any difference, and users who don't have visibility to the organization the document belongs to still can't view it. What could I be doing wrong?"

<module_design id="itop-portal" _delta="must_exist">
<classes>
<class id="DocumentFile" _delta="define">
<scopes>
<scope id="all" _delta="define">
<oql_view><![CDATA[SELECT DocumentFile WHERE status = 'published']]></oql_view>
<ignore_silos>true</ignore_silos>
</scope>
</scopes>
</class>
</classes></module_design>

The same thing happens with the FAQ class, to which I added the org_id field to associate it with an organization

<class id="FAQ">
<field id="org_id" xsi:type="AttributeExternalKey">
<sql>org_id</sql>
<target_class>Organization</target_class>
<is_null_allowed>false</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
</field>
<field id="organization_name" xsi:type="AttributeExternalField">
<extkey_attcode>org_id</extkey_attcode>
<target_attcode>name</target_attcode>
</field>

</class>

<module_design id="itop-portal" _delta="must_exist">
<classes>
<class id="FAQ">
<scopes>
<scope id="all" _delta="must_exist">
<ignore_silos _delta="force">true</ignore_silos>
</scope></scopes></class></classes></module_design>