Custom Segment Object Permissions

You can provide roles with access to a custom segment in SuiteCloud Development Framework (SDF) using the permissions structure in the segment object. In this structure, you can create as many custom permissions as needed by specifying a permission structure for every permission.

Consider the following information for SDF SuiteApps and SuiteApp projects:

Consider the following information for account customization projects:

In the following example, the HUMAN_RESOURCES_GENERALIST role is given View access to the Record Access Level and Search/Reporting Access Level, and Full access to the Management Access Level.

          <customsegment scriptid="cseg_region">
    ...
    <permissions>
        <permission>
            <recordaccesslevel>VIEW</recordaccesslevel>
            <role>HUMAN_RESOURCES_GENERALIST</role>
            <searchaccesslevel>VIEW</searchaccesslevel>
            <valuemgmtaccesslevel>FULL</valuemgmtaccesslevel>
        </permission>
    </permissions>
    ...
</customsegment> 

        

For more information about how user permissions affect custom segments, see User Permissions for a Custom Segment.

Important:

If a SuiteCloud project contains an SDF custom object and a custom role that reference each other, the levels of permission and restriction must match in both objects. For example, if a custom record type permits the custom role with the VIEW permission level, that custom role must set the custom record type permission level to VIEW. Projects that contain a level mismatch cannot be deployed to a target NetSuite account. For more information, see Custom Roles as XML Definitions.

Related Topics

General Notices