Interface IWorkflowApiPermissionsBuilder
OptimaJet.Workflow.Api.IWorkflowApiPermissionsBuilder
Fluent builder for Workflow Engine API permissions values.
Namespace: OptimaJet.Workflow.Api
public interface IWorkflowApiPermissionsBuilderMethods
IWorkflowApiOperationPermissionsBuilder AllowAllOperations() #Replaces the current operation permissions with a policy that allows all operations by default.
Returns
Type
Description
IWorkflowApiOperationPermissionsBuilderAn operation permissions builder.
IWorkflowApiOperationPermissionsBuilder DenyAllOperations() #Replaces the current operation permissions with a policy that denies all operations by default.
Returns
Type
Description
IWorkflowApiOperationPermissionsBuilderAn operation permissions builder.
IWorkflowApiPermissionsBuilder AllowAllTenants() #Replaces the current tenant permissions with a policy that allows all tenants by default.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
IWorkflowApiPermissionsBuilder AllowAllTenantsExcept(params string[] tenantIds) #Replaces the current tenant permissions with a policy that allows all tenants by default except the specified tenant ids.
Parameters
Name
Type
Description
tenantIdsString[]Tenant identifiers to deny.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
IWorkflowApiPermissionsBuilder AllowAllTenantsExcept(IEnumerable<string> tenantIds) #Replaces the current tenant permissions with a policy that allows all tenants by default except the specified tenant ids.
Parameters
Name
Type
Description
tenantIdsIEnumerable<String>Tenant identifiers to deny.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
IWorkflowApiPermissionsBuilder DenyAllTenants() #Replaces the current tenant permissions with a policy that denies all tenants by default.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
IWorkflowApiPermissionsBuilder DenyAllTenantsExcept(params string[] tenantIds) #Replaces the current tenant permissions with a policy that denies all tenants by default except the specified tenant ids.
Parameters
Name
Type
Description
tenantIdsString[]Tenant identifiers to allow.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
IWorkflowApiPermissionsBuilder DenyAllTenantsExcept(IEnumerable<string> tenantIds) #Replaces the current tenant permissions with a policy that denies all tenants by default except the specified tenant ids.
Parameters
Name
Type
Description
tenantIdsIEnumerable<String>Tenant identifiers to allow.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
string GetValue() #Returns the serialized permissions value from the current builder state.
Returns
Type
Description
StringA serialized permissions value.
IWorkflowApiPermissionsBuilder SetValue(string value) #Replaces the current builder state with the rules from a serialized permissions value.
Parameters
Name
Type
Description
valueStringA serialized permissions value.
Returns
Type
Description
IWorkflowApiPermissionsBuilderThe current permissions builder.
bool ValidateValue(string value) #Validates a serialized permissions value.
Parameters
Name
Type
Description
valueStringA serialized permissions value.
Returns
Type
Description
Booleantrue when the value is valid; otherwise false.