Skip to main content

Security Claims

Claims are essential elements of the application's security. They can be used to prevent users from access to certain pages, prevent them for viewing specific fields, and deny them the ability to edit entities. They can be grouped into Security Roles.

List of claims is accessible from App.Security.Claims

To check if a current app user has a claim use the ctx parameter in an expression:

(entity, db, ctx) => ctx.User.HasClaim(App.Security.Claims.MyClaim)