How to use authorization component

In this tutorial we will show you how to show buttons Add Product, Edit Product and Delete Product on pageProduct only for administrators.

Authorization example

1. Login into developer panel.

2. Navigate to Pages menu item.

3. Select page pageProduct.

4. Drag and drop authorization component to button buttonNewProduct. 

5. In component properties section, select Logged user can view as Authorization type and select Administrator as Authorization roles.

Authorization on button

6. Repeat steps 4 and 5 for other two buttons buttonEditProduct and buttonDeleteProduct.

7. Click on Save changes, go into your application and check out the results.