Documentation
    Preparing search index...

    Function permissionRuleSubject

    • Name the napplet a rule applies to. Unlike a grant, a rule follows a verified napplet across artifact versions, so an update keeps the user's preferences.

      Parameters

      Returns string

      The key used in PermissionRules.napplets.

      permissionRuleSubject({ kind: 'development', target: 'http://localhost:5173', artifactHash });
      // 'development:http://localhost:5173'