⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
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
- Type:
Policy
The sudo policy.