Table of Contents

Class AllRolesVisibleTenantRoleVisibilityProvider

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Default ITenantRoleVisibilityProvider that makes every tenant role visible for every team. Registered unless a consumer supplies its own provider, keeping the visibility hook non-breaking.

public sealed class AllRolesVisibleTenantRoleVisibilityProvider : ITenantRoleVisibilityProvider
Inheritance
AllRolesVisibleTenantRoleVisibilityProvider
Implements
Inherited Members

Methods

IsRoleVisibleAsync(string, string, CancellationToken)

Returns whether roleName should be selectable in the role editor for the team identified by teamKey.

public Task<bool> IsRoleVisibleAsync(string teamKey, string roleName, CancellationToken cancellationToken = default)

Parameters

teamKey string
roleName string
cancellationToken CancellationToken

Returns

Task<bool>