N1Developer docsv1

TYPE REFERENCE

RoleInfo

Referenced by 1 generated operations.

Documented fields

  • descriptionString!Required

    One line for the role picker.

    Example: "Runs the shop. Everything, including who else can sign in."

  • permissions[String!]!Required

    Actions this role may perform, e.g. customers.write.

    Example: ["org.read","org.manage","users.read","users.manage","customers.read","customers.write","customers.delete"]

  • roleRoleName!Required

    The role.

    Example: "OWNER"

    • ACCOUNTANTCustomers, invoices and payments.
    • ADMINManages people, settings and customers on the owner’s behalf.
    • OPERATORRuns machines and logs production.
    • OWNERRuns the shop. Everything, including who else can sign in.
    • QCInspects parts and records results.
    • SUPERVISORPlans and watches the shop floor.

Used by

Search documentation

Search operations, types and errors from the generated contract.