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:
parent
9ab8fc5d89
commit
8d3ad5f22d
@ -43,7 +43,7 @@ namespace Acacia.Features.SharedFolders
|
||||
|
||||
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; } }
|
||||
|
Loading…
Reference in New Issue
Block a user