Skip to content

Commit

Permalink
fix: Delete UserACL configuration Override - Meeds-io/MIPs#165
Browse files Browse the repository at this point in the history
Prior to this change, the ECMS extension addon overrides Portal Service configuration without specifities. This change cleanup the configuration to not override the configuration coming from Meeds package.
  • Loading branch information
boubaker committed Nov 4, 2024
1 parent 6996474 commit 1d4680d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,26 +168,6 @@
<type>org.exoplatform.services.jcr.impl.ext.action.SessionActionCatalog</type>
</component>

<external-component-plugins>
<target-component>org.exoplatform.portal.config.UserACL</target-component>
<component-plugin>
<name>addPortalACLPlugin</name>
<set-method>addPortalACLPlugin</set-method>
<type>org.exoplatform.portal.config.PortalACLPlugin</type>
<description>setting some permission for portal</description>
<init-params>
<values-param>
<name>access.control.workspace.roles</name>
<value>editor:/platform/web-contributors</value>
</values-param>
<values-param>
<name>portal.creation.roles</name>
<value>*:/platform/administrators</value>
</values-param>
</init-params>
</component-plugin>
</external-component-plugins>

<external-component-plugins>
<target-component>org.exoplatform.services.jcr.impl.ext.action.SessionActionCatalog</target-component>
<component-plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,61 +26,6 @@
xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

<!-- This is the system configuration for ecm. Be careful if you want to change this configuration -->

<component>
<key>org.exoplatform.portal.config.UserACL</key>
<type>org.exoplatform.portal.config.UserACL</type>
<init-params>
<value-param>
<name>super.user</name>
<description>administrator</description>
<value>${exo.super.user:root}</value>
</value-param>

<value-param>
<name>portal.administrator.groups</name>
<description>administrator</description>
<value>/platform/administrators</value>
</value-param>

<value-param>
<name>portal.administrator.mstype</name>
<description>administrator</description>
<value>manager</value>
</value-param>

<value-param>
<name>portal.creator.groups</name>
<description>groups with membership type have permission to manage portal</description>
<value>*:/platform/administrators,*:/organization/management/executive-board</value>
</value-param>

<value-param>
<name>navigation.creator.membership.type</name>
<description>specific membership type have full permission with group navigation</description>
<value>manager</value>
</value-param>
<value-param>
<name>guests.group</name>
<description>guests group</description>
<value>/platform/guests</value>
</value-param>
<values-param>
<name>mandatory.groups</name>
<description>Groups that can not be deleted.</description>
<value>/platform/administrators</value>
<value>/platform/users</value>
<value>/platform/guests</value>
</values-param>
<values-param>
<name>mandatory.mstypes</name>
<description>Membership type that can not be deleted.</description>
<value>member</value>
<value>*</value>
</values-param>
</init-params>
</component>

<external-component-plugins>
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
<component-plugin>
Expand Down Expand Up @@ -206,13 +151,4 @@
</init-params>
</component-plugin>
</external-component-plugins>

<external-component-plugins>
<target-component>org.exoplatform.portal.config.UserACL</target-component>
<component-plugin>
<name>document_permissions</name>
<set-method>addGroupVisibilityPlugin</set-method>
<type>org.exoplatform.ecm.webui.selector.PermissionsGroupVisibilityPlugin</type>
</component-plugin>
</external-component-plugins>
</configuration>

0 comments on commit 1d4680d

Please sign in to comment.