CanShareEdit abhängig vom aktuellen EmployeeOid = CreatorOid
This commit is contained in:
@@ -107,7 +107,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
public bool CanShareEdit
|
||||
{
|
||||
get => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteinShare);
|
||||
get => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteinShare) && Creator?.EmployeeOid is long owner && owner == BeWoApp.CompactLoggedOnEmployee.EmployeeOid;
|
||||
}
|
||||
|
||||
public bool CanEdit
|
||||
|
||||
Reference in New Issue
Block a user