Skip to content

Commit

Permalink
split up the chaotic navigation in users and groups into its parts
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Apr 21, 2021
1 parent 815e816 commit ebcc3d8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions plone/app/upgrade/v60/profiles/to_alpha1/controlpanel.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<object name="portal_controlpanel" meta_type="Plone Control Panel Tool"
i18n:domain="plone" xmlns:i18n="http://xml.zope.org/namespaces/i18n">

<!-- remove -->
<configlet remove="true"
action_id="UsersGroups2" appId="UsersGroups" category="plone-users">
<permission>Plone Site Setup: Users and Groups</permission>
</configlet>

<!-- add -->
<configlet title="Users" action_id="UsersGroups"
appId="UsersGroups" category="plone-users" condition_expr=""
icon_expr="string:person"
url_expr="string:${portal_url}/@@usergroup-userprefs" visible="True"
i18n:attributes="title">
<permission>Plone Site Setup: Users and Groups</permission>
</configlet>
<configlet title="Groups" action_id="UsersGroups2"
appId="UsersGroups2" category="plone-users" condition_expr=""
icon_expr="string:people"
url_expr="string:${portal_url}/@@usergroup-groupprefs" visible="True"
i18n:attributes="title">
<permission>Plone Site Setup: Users and Groups</permission>
</configlet>
<configlet title="User and Group Settings" action_id="UsersGroupsSettings"
appId="UsersGroupsSettings" category="plone-users" condition_expr=""
icon_expr="string:toggles"
url_expr="string:${portal_url}/@@usergroup-controlpanel" visible="True"
i18n:attributes="title">
<permission>Plone Site Setup: Users and Groups</permission>
</configlet>
<configlet title="Member Fields" action_id="MemberFields"
appId="MemberFields" category="plone-users" condition_expr=""
icon_expr="string:card-list"
url_expr="string:${portal_url}/@@member-fields" visible="True"
i18n:attributes="title">
<permission>Plone Site Setup: Users and Groups</permission>
</configlet>

</object>

0 comments on commit ebcc3d8

Please sign in to comment.