Enums TextModules in Textbausteine umbenannt

This commit is contained in:
Christian
2017-10-13 11:10:37 +02:00
parent f959650100
commit ce1f1a57d5
15 changed files with 38 additions and 36 deletions

View File

@@ -175,7 +175,7 @@ namespace BeWo.ViewModel
{
ServiceFacade.DoEmployeeServiceSync(s => _Employee = s.LoadCompactEmployee(BeWoApp.LoggedOnEmployee.EmployeeOid.Value));
if (BeWoApp.LoggedOnUser.HasRight(UserRightType.TextModulesNurEigeneBearbeiten) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextModulesAlleBearbeiten))
if (BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineNurEigeneBearbeiten) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineAlleBearbeiten))
{
_IsOnlyForEmployee = true;
}