useHierarchicalDataOwners property

bool useHierarchicalDataOwners
final

Has only effect when logging in as an hcp user.

If true the api will be initialized in a hierarchical mode, where each data owner is considered to have access to all data of his parents (requires corresponding permission on the server side). In this case the sdk will also expect to have access to at least a key for each parent data owner of the current user.

If false the api will ignore the data owner hierarchies. Each data owner is considered to have access only to data shared explicitly with him, and has access only to his own keys.

Implementation

final bool useHierarchicalDataOwners;