title: Including custom modules in SuiteScript 2.0
body: <p>I am trying to reference a custom user module in a SS2.0 index script like so:</p>
  
  <p><code>
  /**
   * @NApiVersion 2.x
   * @NScriptType Restlet
   */
  define([
  'N/record', 'N/error', "SuiteScripts/MyFolder/src/My_Controller", 'N/crypto',
  </code></p>
  
  <p>Which works fine in sandbox. However when we deploy to production (bundle push) we get the following error when we call a RESTlet method:</p>
  
  <blockquote>
    <p>You do not have permission to load this module
    SuiteScripts/MyFolder/src/My_Controller.js, it has an @NModuleScope of
    SameAccount which restricts its availability to customization objects
    created in account 1234566</p>
  </blockquote>
  
  <p>All we did was:</p>
  
  <ol>
  <li>create a RESTlet using our index file (SS2.0 does not allow you to define libraries)</li>
  <li>deploy/bundle RESTlet</li>
  <li>Upload the custom user modules (My_Controller.js) manually to the cabinet with Eclipse to the production account (CTRL+U)</li>
  <li>Call a method on RESTlet (in production) using Postman</li>
  </ol>
  
  <p>Can anyone see what we are doing wrong? Thank you</p>