NuGet Package: DevExpress.ExpressApp.Security
You can use extension methods provided by the
PermissionSettingHelper class in both Entity Framework and XPO implementations of the IPermissionPolicyRole interface. Additionally, PermissionSettingHelper provides extension methods for the IPermissionPolicyTypePermissionObject objects assigned to the IPermissionPolicyRole.TypePermissions collection. You can call these extension methods from the ModuleUpdater.UpdateDatabaseAfterUpdateSchema method implemented in the Updater.cs (Updater.vb) file to easily configure predefined permissions in code.