public override void UpdateDatabaseAfterUpdateSchema() { base.UpdateDatabaseAfterUpdateSchema(); var anonymousRole = ObjectSpace.GetAnonymousPermissionPolicyRole("Anonymous"); anonymousRole.GetAnonymousPermissionPolicyUser(); anonymousRole.AddTypePermission <AnonymousObject>(SecurityOperations.FullAccess, SecurityPermissionState.Allow); }