Skip to content

CrossTenantAuthorizer is not async #13

@SteveHSX7

Description

@SteveHSX7

Hi,

More of a question than an issue.

We're using the ICrossTenantAuthorizer to provide cross-tenant authorisation. We do have a grain that contains all the required information but as the IsAccessAuthorized() method is not asynchronous I can't use the grain methods to answer the question (I've tried numerous workarounds to invoke the grain async methods inside this non-async function but they all seem to just hang).

As a workaround we're writing the information in the grain to an external data source (Azure Table) but this is causing a few timing issues so I would much rather access the definitive source of information (i.e the grain).

Can the IsAccessAuthorized() be supplemented with an asynchronous version so I can (safely) invoke grain methods from it or do you have any suggestions as to how to solve this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions