Tooling
Module SDK
Modules
Policies
getSudoPolicy

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getSudoPolicy

Get the sudo policy to be used when creating a new session. The sudo policy is an action policy that will allow any action for the specified target and selector.

Usage

const sudoPolicy = getSudoPolicy()

Returns

policy

The sudo policy.