Table of Contents

Interface IUserContextPermissions

Namespace
GroupeIsa.Neos.Shared.Contexts
Assembly
GroupeIsa.Neos.Shared.dll

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

IEnumerable<string>

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 string

The current tenant identifier. If the cluster is not multi-tenant, tenantId is null.

userId string

The current user identifier.

key string

The context key.

Returns

IEnumerable<object>

Authorized values.

Remarks

null null means no value for the context key during http call is allowed.