Page Contents


Adds a new access control list (ACL) entry to a LoopBack application.

lb acl [options]

With IBM API Connect developer toolkit:

apic loopback:acl [options]

With legacy StrongLoop tools:

slc loopback:acl [options]


-h, --help
質問の回答を記憶しません。既定値は false です。
依存関係を自動的にインストールしません。既定値は false です。

Interactive Prompts

The tool will prompt you for the necessary information and then modify the Model definition JSON file accordingly.

The generator prompts for:

  • Name of the model to which you want to apply access control or all models.
  • Scope of access control: All methods and properties or a specific method.
  • If you choose a specific method, the method’s name.
  • Access type: read, write, execute, or all.
  • Role: all users, any unauthenticated user, any authenticated user, the object owner.
  • Permission to apply: explicitly grant access or explicitly deny access.

For general information about setting up ACLs, see Controlling data access.