# Product Privileges

## **Overview**

This feature allows administrators to set privileges for users to edit or preview only specific product collections they are assigned to. Users can have access to a specific group of products or all products, as defined at the administrative level.

## **Assumptions**

* **Product Privileges based on Collection**: Privileges are based on the products [collection ](https://usermanual.ergonode.com/products/collections)they are assigned to.
* **Feature Availability**: This feature is not available in all price tiers.
* **Product Creator Permissions**: The product creator always has permission to access the product they created.
* **Ergonode Transfer and Product Importer**: The user who imports a product becomes the author and automatically has permission to the imported (created) product.
* **Batch Actions**: Batch actions can be triggered regardless of product privileges. The app will notify users of the details of the action if they lack certain privileges (e.g., status batch actions).
* **Users**: Product privileges are set up per User

## **Detailed Functionality**

### **Catalog Table View**

* Cells in products without edit privileges are disabled.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2Fg9J5M4NZ6MoKnGose6yi%2Fimage.png?alt=media&#x26;token=52451489-8cab-420d-b80b-337c840bac10" alt=""><figcaption><p>SKUs EU_54921_AC_36 and EU_54921_AC_37 are disabled</p></figcaption></figure>

* Products without reading privileges are hidden.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F18Ptjl8t0pOHCeM3VE6s%2Fimage.png?alt=media&#x26;token=148ecae3-37c2-4be7-a4e5-39ab5437df64" alt=""><figcaption><p>Hidden product in Product relation attribute Manage items menu</p></figcaption></figure>

* Copying attribute values by dragging exclude cells where the user has read-only privileges.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2Fi7oWL7ql0kMIy62EO9hm%2Fimage.png?alt=media&#x26;token=09d3e172-853f-4ea3-8c2d-6c2e526fa1c8" alt=""><figcaption><p>Copying attribute values by dragging exclude cells where the user has read-only privileges</p></figcaption></figure>

### **Catalog Kanban View**

* Dragging products without edit privileges (e.g., changing status by dragging an item) is prohibited.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FTwtVEs9M6XjolAMmWpGV%2Fimage.png?alt=media&#x26;token=582f687e-84c5-4374-9160-5ffdef9475c8" alt=""><figcaption><p>Product with SKU 40698 is disabled (no edit rights)</p></figcaption></figure>

### **Products with Variants**

* “Limited view” information suggests that the user may not see all added products.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2Fn3i14l8fsGsNDESm1j31%2Fimage.png?alt=media&#x26;token=381ee3f9-3c93-480f-b97e-9cd209f49bb4" alt=""><figcaption><p>Products with variants > Limited view information</p></figcaption></figure>

### **Grouping Products**

* “Limited view” information suggests that the user may not see all added products.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FLbWT32P8WM2yMQxxlJnz%2Fimage.png?alt=media&#x26;token=9dd5ece5-959b-4a59-943d-6583a51d1777" alt=""><figcaption><p>Grouping products > Limited view information</p></figcaption></figure>

### **Two-Way Relation**

* Users can indicate a relation only to products to which they have edit privileges.
* When the user activates the Two-way relation switch and then selects a product with Read-only access, the Two-way relation switch is automatically deselected, and a notification appears in the corner.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FOXa3m4ftjhauw26Mnt7o%2Fimage.png?alt=media&#x26;token=6b3fc633-eadc-4df9-8719-6990b0a04623" alt=""><figcaption><p>Two-way relation switch is deselected and notification message show up</p></figcaption></figure>
