# ACL Mapping

## Possible Entity Keys

ACL Mapping import templates supprot keys from entity that you are using mapping for.

{% hint style="warning" %}
Your entity key must be unique. If you have two products with same Name fields, you will not be able to use Name as entity key.
{% endhint %}

## Column Destinations

<table><thead><tr><th width="272">Column destination</th><th>Explanation</th></tr></thead><tbody><tr><td>Key</td><td>The value that you selected as entity key for this template.</td></tr><tr><td>Customer role '&#x3C;Role Name>'</td><td>TRUE or FALSE value, whether to allow or remove access for this group of customers.</td></tr></tbody></table>

{% hint style="warning" %}
If you don't have ACL Mapping set up for this product/category/manufacturer, all groups would have access to this product. If you set up any restrictions, all, except groups with TRUE value, **will not have access**.
{% endhint %}

## Example table

This is an example table for ACL Mapping of Product

<table><thead><tr><th width="133">SKU</th><th width="220.33333333333331">Customer role 'Guests'</th><th>Customer role 'Administrators'</th></tr></thead><tbody><tr><td>001</td><td>TRUE</td><td>TRUE</td></tr><tr><td>002</td><td>FALSE</td><td>TRUE</td></tr><tr><td>003</td><td>FALSE</td><td>FALSE</td></tr></tbody></table>

{% hint style="info" %}
With the import above being the only ACL rules that are set up for products with SKU 001, 002 and 003, the following scenario would be executed. \
1\. Guests and Administrators would have access to Product 001, no other groups would have access.\
2\. Only Administrators would have access to Product 002.\
3\. Nobody would have access to Product 003.
{% endhint %}
