1. Home
  2. Docs
  3. NoCode-X Documentation
  4. Templates
  5. Authorization

Authorization

Not all pages are meant to be accessible to everyone. However, no authorization rules are in effect by default. This article explains how to add authorization to your templates.

Add authorization requirements to templates

You can manage who is allowed to enter a page (corresponding with a template) in the Authorization tab in the menu on the right. This is shown in the image below. If you only want authenticated users to access the page, check the box Users have to authenticate to access this page. Now follow the steps below to configure additional authorization restrictions.

Template authorization tab with no access restrictions in place.
  1. Click the Add authorization rule button.
  2. A new rule Unnamed authorization rule appears. Click the pen icon next to it to configure it.
  3. Choose a relevant name for the rule in the Filter field.
  4. You can now select which groups and rights should have access to this page. Refer to the User management section for more information. An example is shown in the image below.
  5. The rule is shown in the list with the chosen name. You can delete rules by clicking the X icon next to the pen icon.
  6. Repeat this procedure to add as many authorization rules as necessary.
The Manage permissions window for authorization rules.

The image below shows an example for a page that only administrators may access.

Authentication configuration for a page that only administrators can access.

How can we help?