Permissions: {
    general: {
        [routeId: string]: boolean;
    };
    namespaces: {
        [namespaceId: string]: {
            [routeId: string]: boolean;
        };
    };
}

Type declaration

  • general: {
        [routeId: string]: boolean;
    }

    General routes independent of namespaces

    • [routeId: string]: boolean
  • namespaces: {
        [namespaceId: string]: {
            [routeId: string]: boolean;
        };
    }

    Routes who are dependent of namespaces

    If wanted namespace isn't present, then user doesn't have access

    • [namespaceId: string]: {
          [routeId: string]: boolean;
      }
      • [routeId: string]: boolean

Generated using TypeDoc