Skip to content

Authorization

Trevor Fayas edited this page Jan 1, 2022 · 2 revisions

If your page has users that log in, you often have areas of the site you want to restrict access to.

Default .net core only allows authorization checks on controller actions, and only on the User or Role. In Kentico Xperience, you have many other permission options, such as Page Permissions (ACL), Permissions (Module Permissions), Authenticated, along with User, Role.

We created the XperienceCommunity.Authorization package to add in all those possible Authorization options, as well as allow you to add Authentication on Page Builder generated requests (as they do not resolve to a Controller/Action that you can control).

Along with this, we also have a small helper package HBS.AutomaticGeneratedUserRoles.Kentico that adds some helper roles as users are registered / created.

Clone this wiki locally