Skip to content

Commit

Permalink
fix: org chart & My Team pages should not be available for externals -
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamdi committed May 9, 2024
1 parent bf07ac8 commit 59b1d8b
Showing 1 changed file with 108 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,114 @@
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>OrgChartPageUpgradePlugin</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<description>Updates Org chart page permission</description>
<init-params>
<value-param>
<name>product.group.id</name>
<value>org.exoplatform.social</value>
</value-param>
<value-param>
<name>plugin.execution.order</name>
<value>120</value>
</value-param>
<value-param>
<name>plugin.upgrade.execute.once</name>
<value>true</value>
</value-param>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
<object-param>
<name>overview.upgrade</name>
<object type="io.meeds.social.upgrade.model.LayoutUpgrade">
<field name="updatePortalConfig">
<boolean>false</boolean>
</field>
<field name="updatePageLayout">
<boolean>true</boolean>
</field>
<field name="updateNavigation">
<boolean>true</boolean>
</field>
<field name="configPath">
<string>war:/conf/sites/</string>
</field>
<field name="portalType">
<string>portal</string>
</field>
<field name="portalName">
<string>global</string>
</field>
<field name="pageNames">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>organizationalchart</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>MyTeamPageUpgradePlugin</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<description>Updates access permission of MyTeam page</description>
<init-params>
<value-param>
<name>product.group.id</name>
<value>org.exoplatform.social</value>
</value-param>
<value-param>
<name>plugin.execution.order</name>
<value>120</value>
</value-param>
<value-param>
<name>plugin.upgrade.execute.once</name>
<value>true</value>
</value-param>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
<object-param>
<name>overview.upgrade</name>
<object type="io.meeds.social.upgrade.model.LayoutUpgrade">
<field name="updatePortalConfig">
<boolean>false</boolean>
</field>
<field name="updatePageLayout">
<boolean>true</boolean>
</field>
<field name="updateNavigation">
<boolean>true</boolean>
</field>
<field name="configPath">
<string>war:/conf/sites/</string>
</field>
<field name="portalType">
<string>portal</string>
</field>
<field name="portalName">
<string>mycraft</string>
</field>
<field name="pageNames">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>myteam</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>

</configuration>

0 comments on commit 59b1d8b

Please sign in to comment.