For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Policies

Gets project policies.

A policy is a reusable set of permissions (allow/deny rules over modules and actions). Policies are attached to roles; a user's effective permissions are the union of the policies on all their roles. This method returns the policies defined in your project.

This method is on the Hub surface (norbix.hub.membership) — call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.membership.getPolicies({
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Membership.GetPoliciesAsync(new GetPolicies
{
});
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.membership.get_policies()
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Membership.GetPolicies(ctx, nil, &result)

In the dashboard

Manage this visually in Norbix Cloud — see Membership → Policies.

API reference

Full request and response for this endpoint: Get Policies.

Last updated