Shopware icon

Shopware

Shopware

Actions778

Acl Role → Create Acl Role

AI-generated

Overview

This node operation creates a new ACL (Access Control List) Role in the Shopware system. It is useful for managing user permissions and access control within the Shopware platform. For example, an administrator can use this node to define a new role with specific privileges and assign it to users to control their access rights.

Use Case Examples

  1. Creating a new ACL Role with a unique ID, name, description, and a set of privileges.
  2. Assigning users to the newly created ACL Role to manage their permissions.
  3. Including metadata such as creation, update, and deletion timestamps for the ACL Role.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the ACL Role.
Name Name of the ACL Role.
Description Description of the ACL Role.
Privileges JSON array defining the privileges associated with the ACL Role.
Deleted At Timestamp indicating when the ACL Role was deleted.
Created At Timestamp indicating when the ACL Role was created.
Updated At Timestamp indicating when the ACL Role was last updated.
Users JSON array of users assigned to the ACL Role.
App JSON object representing the app configuration related to the ACL Role.
Integrations JSON array of integrations associated with the ACL Role.
Request Options Settings for request behavior such as batching, SSL issues, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created ACL Role.
  • name - Name of the created ACL Role.
  • description - Description of the created ACL Role.
  • privileges - Privileges assigned to the ACL Role.
  • deletedAt - Deletion timestamp of the ACL Role, if applicable.
  • createdAt - Creation timestamp of the ACL Role.
  • updatedAt - Last update timestamp of the ACL Role.
  • users - Users assigned to the ACL Role.
  • app - App configuration related to the ACL Role.
  • integrations - Integrations associated with the ACL Role.

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure all required fields (Id, Name) are provided to avoid validation errors.
  • Verify JSON format for privileges, users, app, and integrations fields to prevent parsing errors.
  • Check API credentials and base URL configuration to avoid authentication or connection issues.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option if appropriate.

Discussion