Skip to main content

Crate static_tr_plugin

Crate static_tr_plugin 

Source
Expand description

Static Tenant Resolver Plugin

This plugin provides tenant data and access rules from configuration. Useful for testing, development, and simple deployments.

§Configuration

modules:
  static_tr_plugin:
    vendor: "hyperspot"
    priority: 100
    tenants:
      - id: "550e8400-e29b-41d4-a716-446655440001"
        name: "Tenant A"
        status: active
    access_rules:
      - source: "550e8400-e29b-41d4-a716-446655440001"
        target: "550e8400-e29b-41d4-a716-446655440002"

Re-exports§

pub use module::StaticTrPlugin;

Modules§

config
Configuration for the static tenant resolver plugin.
domain
Domain layer for the static tenant resolver plugin.
module
Static tenant resolver plugin module.