feat: access.xml ACL permission configuration #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The component has no
access.xmlfile defining Joomla ACL permissions. Without it, the component relies only on core permissions and cannot define component-specific actions.Proposed permissions
Files
source/packages/com_mokoog/access.xmlsource/packages/com_mokoog/mokoog.xml— ensure manifest references access.xmlAcceptance Criteria
access.xmlexists with standard + custom actionsBranch created:
feature/95-feat-access-xml-acl-permission-configuraStatus: confirmed NOT done (audit of current
dev).source/packages/com_mokoog/access.xmldoes not exist;mokoog.xmldefines no custom actions; controllers check only core permissions (BatchController→core.create;ImportExportController→core.manage/core.create/core.edit).Scope addition: the component also ships no
config.xml, yetHtmlView::addToolbar()renders aToolbarHelper::preferences('com_mokoog')Options button — which opens an empty/broken Options modal. This issue should also cover adding aconfig.xml(or removing the Options button). Bothaccess.xmlandconfig.xmlare needed for the Permissions and Options tabs to function.Fixed in PR #111 (merged to
dev). Addedaccess.xml(core actions + custommokoog.batch/mokoog.import) andconfig.xml(Permissions tab + a note pointing OG/SEO settings to the system plugin); both declared in the manifest.BatchController/ImportExportControllernow authorise the custom actions with a fallback to the prior core checks (no lockout). Closing.