Skip to content

Commit 0ac7105

Browse files
committed
Fix: ACL permissions
1 parent 4261977 commit 0ac7105

File tree

5 files changed

+15
-21
lines changed

5 files changed

+15
-21
lines changed

admin/access.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,4 @@
1616
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />
1717
<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />
1818
</section>
19-
<section name="person">
20-
<action name="core.delete" title="JACTION_DELETE" description="COM_CLUBMANAGEMENT_ACCESS_DELETE_DESC" />
21-
<action name="core.edit" title="JACTION_EDIT" description="COM_CLUBMANAGEMENT_ACCESS_EDIT_DESC" />
22-
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC" />
23-
</section>
24-
<section name="membership">
25-
<action name="core.delete" title="JACTION_DELETE" description="COM_CLUBMANAGEMENT_ACCESS_DELETE_DESC" />
26-
<action name="core.edit" title="JACTION_EDIT" description="COM_CLUBMANAGEMENT_ACCESS_EDIT_DESC" />
27-
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC" />
28-
</section>
29-
<section name="boardentry">
30-
<action name="core.delete" title="JACTION_DELETE" description="COM_CLUBMANAGEMENT_ACCESS_DELETE_DESC" />
31-
<action name="core.edit" title="JACTION_EDIT" description="COM_CLUBMANAGEMENT_ACCESS_EDIT_DESC" />
32-
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC" />
33-
</section>
3419
</access>

admin/config.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,16 @@
8080
<option value="DESC">JGLOBAL_ORDER_DESCENDING</option>
8181
</field>
8282
</fieldset>
83-
</config>
83+
<fieldset name="permissions" label="JCONFIG_PERMISSIONS_LABEL" description="JCONFIG_PERMISSIONS_DESC">
84+
<field
85+
name="rules"
86+
type="rules"
87+
label="JCONFIG_PERMISSIONS_LABEL"
88+
class="inputbox"
89+
validate="rules"
90+
filter="rules"
91+
component="com_clubmanagement"
92+
section="component"
93+
/>
94+
</fieldset>
95+
</config>

doc/Tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Site:
4040

4141
Findings
4242
========
43-
- No Permissions in config
4443
- Translation
4544
COM_CLUBMANAGEMENT_MEMBERSHIPS_VIEW_ADDRESS_LABEL_LAYOUT_TITLE
4645
COM_CLUBMANAGEMENT_MEMBERSHIPS_VIEW_ADDRESS_LABEL_LAYOUT_DESC
@@ -51,3 +50,4 @@ Done
5150
- Admin Lists Filter wrong size
5251
- Person Details: Person Selection does not close
5352
- Membership Card HTML multiselect type not working
53+
- No Permissions in config

language/admin/de-DE.com_clubmanagement.sys.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,4 @@ COM_CATEGORIES_ACCESS_EDITSTATE_DESC="Zugriff wer den Status von Kategorie-Eintr
5555
COM_CATEGORIES_ACCESS_EDITOWN_DESC="Zugriff wer eigene Einträge in Kategorien ändern kann."
5656
COM_CLUBMANAGEMENT_ACCESS_DELETE_DESC="Zugriff wer Einträge erstellen kann."
5757
COM_CLUBMANAGEMENT_ACCESS_EDIT_DESC="Zugriff wer Einträge ändern kann."
58-
COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC="Zugriff wer den Status von Einträge ändern kann."
59-
60-
58+
COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC="Zugriff wer den Status von Einträge ändern kann."

language/admin/en-GB.com_clubmanagement.sys.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ COM_CATEGORIES_ACCESS_EDITOWN_DESC="Access to change own category entries."
5656
COM_CLUBMANAGEMENT_ACCESS_DELETE_DESC="Access to create new entries."
5757
COM_CLUBMANAGEMENT_ACCESS_EDIT_DESC="Access to edit entries."
5858
COM_CLUBMANAGEMENT_ACCESS_EDITSTATE_DESC="Access to change the state of entries."
59-

0 commit comments

Comments
 (0)