Fix: Routinen können ohne Recht bearbeitet werden
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user