MS Validation Messages, GhostMode Rechte
This commit is contained in:
@@ -2752,11 +2752,11 @@ FROM VWPM_PROFILE_ACTIVE T WHERE T.FILE_COUNT > 0 AND T.GUID IN (SELECT PROFILE_
|
||||
If USER_GHOST_MODE_ACTIVE = True And USER_GHOST_MODE_USRNAME <> String.Empty Then
|
||||
LOGGER.Info($"GHOST MODE for User {USER_GHOST_MODE_USRNAME} will now be initialized!")
|
||||
Dim oUserLanguage = User.Language
|
||||
|
||||
USER_USERNAME_ORG = USER_USERNAME
|
||||
BarButtonItemGhostMode.Caption = String.Format(S.Ghost_Modus___0___deaktivieren, USER_GHOST_MODE_USRNAME)
|
||||
BarButtonItemGhostMode.Visibility = DevExpress.XtraBars.BarItemVisibility.Always
|
||||
_Init.InitBasics()
|
||||
_Init.InitUserLogin(USER_GHOST_MODE_USRNAME)
|
||||
_Init.InitUserLogin()
|
||||
_Init.InitBasics2()
|
||||
Dim onewUserLanguage = User.Language
|
||||
GetBaseData("Load")
|
||||
@@ -2777,7 +2777,8 @@ FROM VWPM_PROFILE_ACTIVE T WHERE T.FILE_COUNT > 0 AND T.GUID IN (SELECT PROFILE_
|
||||
USER_GHOST_MODE_ACTIVE = False
|
||||
USER_GHOST_MODE_USRNAME = String.Empty
|
||||
USER_ID = 0
|
||||
USER_USERNAME = "FORNER_GHOSTUSER"
|
||||
USER_USERNAME = USER_USERNAME_ORG
|
||||
|
||||
BarButtonItemGhostMode.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
|
||||
_Init.InitUserLogin()
|
||||
GetBaseData("InactivateGM")
|
||||
|
||||
Reference in New Issue
Block a user