Interface IUserContextPermissions
Provides the functionalities to manage application context value permissions.
public interface IUserContextPermissions
Properties
UserContextKeys
Gets context keys whose value should be checked according to user permissions.
IEnumerable<string> UserContextKeys { get; }
Property Value
Methods
GetUserContextAuthorizedValues(string?, string, string)
Gets the authorized values of the context key according to the current tenant and the current user.
IEnumerable<object?> GetUserContextAuthorizedValues(string? tenantId, string userId, string key)
Parameters
tenantId
stringThe current tenant identifier. If the cluster is not multi-tenant, tenantId is null.
userId
stringThe current user identifier.
key
stringThe context key.
Returns
- IEnumerable<object>
Authorized values.
Remarks
null
null means no value for the context key during http call is allowed.