Nur oberste Folder können geteilt werden. Ansonsten mit Tiefensuche nach public Knoten suchen
This commit is contained in:
@@ -237,7 +237,10 @@ namespace BeWo.ViewModel
|
||||
|
||||
public bool CanShareEdit
|
||||
{
|
||||
get => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteinShare) && Creator?.EmployeeOid is long owner && owner == BeWoApp.CompactLoggedOnEmployee.EmployeeOid;
|
||||
get => ParentFolderOid < 0
|
||||
&& BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteinShare)
|
||||
&& Creator?.EmployeeOid is long owner
|
||||
&& owner == BeWoApp.CompactLoggedOnEmployee.EmployeeOid;
|
||||
}
|
||||
|
||||
public AiPromptbausteinFolderVM Parent { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user