1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

[KOE-124] Added capability check for whole store sharing

This commit is contained in:
Patrick Simpson 2017-12-22 13:24:00 +02:00
parent 9ab8fc5d89
commit 8d3ad5f22d

View File

@ -43,7 +43,7 @@ namespace Acacia.Features.SharedFolders
public bool SupportsWholeStore public bool SupportsWholeStore
{ {
get { return _feature.AllowImpersonate; } // TODO: use capability get { return _feature.AllowImpersonate && _account.Capabilities?.Has(Constants.ZPUSH_CAPABILITY_IMPERSONATE) == true; }
} }
public FeatureSharedFolders Feature { get { return _feature; } } public FeatureSharedFolders Feature { get { return _feature; } }