public static void StartAllModules(SchemaBuilder sb) { TypeAuthLogic.Start(sb); PropertyAuthLogic.Start(sb); QueryAuthLogic.Start(sb); OperationAuthLogic.Start(sb); PermissionAuthLogic.Start(sb); }
public static void StartAllModules(SchemaBuilder sb, DynamicQueryManager dqm) { TypeAuthLogic.Start(sb, dqm); PropertyAuthLogic.Start(sb); QueryAuthLogic.Start(sb, dqm); OperationAuthLogic.Start(sb); PermissionAuthLogic.Start(sb, dqm); }
public static void StartAllModules(SchemaBuilder sb, bool activeDirectoryIntegration = false) { TypeAuthLogic.Start(sb); PropertyAuthLogic.Start(sb); QueryAuthLogic.Start(sb); OperationAuthLogic.Start(sb); PermissionAuthLogic.Start(sb); if (activeDirectoryIntegration) { PermissionAuthLogic.RegisterTypes(typeof(ActiveDirectoryPermission)); } }
public static void Start(SchemaBuilder sb, DynamicQueryManager dqm) { if (sb.NotDefined(MethodInfo.GetCurrentMethod())) { AuthLogic.AssertStarted(sb); sb.Include<SessionLogEntity>() .WithQuery(dqm, () => sl => new { Entity = sl, sl.Id, sl.User, sl.SessionStart, sl.SessionEnd, sl.SessionTimeOut }); PermissionAuthLogic.RegisterPermissions(SessionLogPermission.TrackSession); ExceptionLogic.DeleteLogs += ExceptionLogic_DeleteLogs; } }