Fix: Routinen können ohne Recht bearbeitet werden

This commit is contained in:
2026-06-23 11:41:08 +02:00
parent 3b31b01cd2
commit 511f086d02

View File

@@ -84,7 +84,7 @@ namespace BeWo.ViewModel
public bool CanEdit
{
get => _CanEdit;
get => _CanEdit && BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteineEdit);
set => SetProperty(ref _CanEdit, value, nameof(CanEdit), () => DataContract.CanEdit);
}