netsuite-sdf-roles-and-permissions

Validate NetSuite SDF permission keys and levels against official references.

321|103|Updated Nov 19, 2019
One-click install
npx skills add https://github.com/oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netsuite-sdf-roles-and-permissions
Source: https://github.com/oracle/netsuite-suitecloud-sdk/tree/main/packages/agent-skills/netsuite-sdf-roles-and-permissions
Command: npx skills add https://github.com/oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers and administrators ensure NetSuite SDF permission keys and permission levels align with official references when building or reviewing custom roles and script deployments.

Core Features & Use Cases

  • Validate standard permkeys against references.json to ensure IDs starting with ADMI_, LIST_, REGT_, REPO_, TRAN_ exist and are used correctly.
  • Distinguish customrecord_* permissions and validate them against your project's XML definitions.
  • Provide guidance for least-privilege role design, run-as considerations, and accurate permission mapping in code reviews.
  • Reference materials include references/permissions.json and references/permission-index.md to ground decisions.

Quick Start

Review a customrole XML to confirm every permkey maps to an exact ID in references.json and assign the least-privilege permlevel.

Frequently Asked Questions about netsuite-sdf-roles-and-permissions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate NetSuite SDF permission keys against official references?

Validate NetSuite SDF permission keys by mapping every permkey in your customrole XML to exact IDs in references.json, ensuring standard prefixes like ADMI_, LIST_, and TRAN_ exist and are used correctly. This confirms accurate access control definitions.

What is the correct permission level for least-privilege NetSuite SDF roles?

The correct permission level for least-privilege NetSuite SDF roles is the minimum permlevel required for the script to execute. Assign accurate permlevels by validating standard and customrecord_* permissions against reference files.

How do I handle customrecord_* permissions in NetSuite SDF deployments?

Handle customrecord_* permissions in NetSuite SDF by validating them against your project's XML definitions rather than standard references. This distinguishes custom record IDs and ensures accurate permission mapping in customrole deployments.

Does NetSuite SDF permission validation work with both standard and custom permissions?

Yes, NetSuite SDF permission validation works with both standard and custom permissions. It validates standard permkeys against references.json and customrecord_* IDs against project XML definitions to ensure correct access control.

What are the limitations of validating NetSuite SDF permissions using references?

A limitation of validating NetSuite SDF permissions is that some permissions exist in the reference files but are not relevant to your current project. The validation process notes these caveats to prevent unnecessary permission mappings.

Why does my NetSuite SDF customrole deployment fail with invalid permkey errors?

NetSuite SDF customrole deployments fail with invalid permkey errors when assigned keys do not map to exact IDs in references.json or your project's customrecord_* XML definitions. Validate all permkeys against official references.