Skip to content

Commit

Permalink
[feature] added acl.xml configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nordcomputer committed Jan 16, 2021
1 parent 71448a4 commit 3ef80c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions etc/acl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Nordcomputer_Showoutofstockprice" translate="title" title="Nordcomputer" sortOrder="50">

This comment has been minimized.

Copy link
@carlos-reynosa

carlos-reynosa Mar 5, 2021

@nordcomputer That resouce id on line 5 is not valid:

    <xs:simpleType name="typeId">
        <xs:annotation>
            <xs:documentation>
                Item id attribute can has only [a-z0-9/_]. Minimal length 3 symbol. Case insensitive.
            </xs:documentation>
        </xs:annotation>

        <xs:restriction base="xs:string">
            <xs:pattern value="([A-Z]+[a-zA-Z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}" />
        </xs:restriction>
    </xs:simpleType>
<resource id="Nordcomputer_Showoutofstockprice::main" translate="title" title="Show out of Stock price" sortOrder="50"/>
</resource>
</resource>
</resources>
</acl>
</config>

0 comments on commit 3ef80c7

Please sign in to comment.