ResetAllTenants wird ignoriert, Syntax in SQL File, Pause bei Batch

This commit is contained in:
2023-03-28 13:08:56 +02:00
parent 4d46c0db1a
commit 7aec8610f3
3 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
ALTER TABLE `wohnheim`
ADD COLUMN `PflichtbesetzungStart` VARCHAR(45) NULL DEFAULT NULL AFTER `Bemerkung`,
ADD COLUMN `PflichtbesetzungEnde` VARCHAR(45) NULL DEFAULT NULL AFTER `PflichtbesetzungStart`;
ADD COLUMN `PflichtbesetzungEnde` VARCHAR(45) NULL DEFAULT NULL AFTER `PflichtbesetzungStart`,
ADD COLUMN `PflichtbesetzungEinblenden` INT NULL DEFAULT NULL AFTER `PflichtbesetzungEnde`,
ADD COLUMN `StandardZeilenanzahl` INT NULL DEFAULT NULL AFTER `PflichtbesetzungEinblenden`;

View File

@@ -10,3 +10,4 @@ copy Lib\NHibernate.dll BeWoPlanerMobil\bin\
copy Lib\Castle.Core.dll BeWoPlanerMobil\bin\
copy Lib\Castle.DynamicProxy.dll BeWoPlanerMobil\bin\
copy Lib\Castle.DynamicProxy2.dll BeWoPlanerMobil\bin\
pause

View File

@@ -37,7 +37,7 @@ namespace BeWo.Service.Security
string lServiceInterface = lTemp[lTemp.Count - 2];
// TODO Hier kann man jetzt etwas bauen wer sich für welchen service autorisieren muss...
var skip = new string[] { "Download", "Download2", "DownloadInfo", "GetUpdatePlan", "GetUpdateFile" };
var skip = new string[] { "Download", "Download2", "DownloadInfo", "GetUpdatePlan", "GetUpdateFile", "ResetAllTenants" };
if (lMethodName == "IsUserValid" || lMethodName == "IsUserValidTwoFactor" || lMethodName == "ResetTenant" || lMethodName == "ResetAllTenant" || lMethodName == "GetEmailForUserName")
{
return null;