I have a Custom J4 Component that should have different types of contents. So called "items" and "packages". The items are done so far and using the default J4 categories via "com_mycomponent" and the default ACL Structure.
Now I'm on the way to implement my second model "packages" which also needs a category interface - but this should not be the same as for items (items and packages does not share the same categories). For me it looks like it does not matter if a component exists or not in the categories table for the column "extension".
As far as i can see its only a problem on ACL side here. Joomla checks by default the "access" com_mycomponent > "category" section of my access.xml file (for items) - and in this case com_mycomponent is similar to the value inside the extension column of the categories table right? So how can i create a set of ACL for my "packages" categories?
any hints someone? Or how you guys solve those cases? I don't think this is such a super special requirement and someone with more experience has certainly been confronted with it. Edit: My default access.xml:
<access component="com_mycomponent">
<section name="category">
<action name="core.create" title="JACTION_CREATE" />
<action name="core.delete" title="JACTION_DELETE" />
<action name="core.edit" title="JACTION_EDIT" />
<action name="core.edit.state" title="JACTION_EDITSTATE" />
<action name="core.edit.own" title="JACTION_EDITOWN" />
</section>
<section name="component">
...