Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom roles allow to configure configuring roles with custom rights, for example, a role that only has rights to retrive retrieve the delivery promise. A custom role is configured by creating a role entity through API and granting API access rights in the ACL configuration.

Supported Scopes

...

Application

...

Supported

...

Store App

...

...

Back Office

...

...

API

...

Info

For security resons, at the moment, only an internal OneStock user can make this actions. Please get in touch with your point in contact so we can help you out.

Supported Scopes

Application

Supported

Store App

✅ - To creat a user and assign it a custom role, the creation must be done from the SA and the role must be listed in the SA configuration. The BO does not yet support custom SA roles.

Back Office

...

API

Building a custom role

For Store App roles, the role must also be configured in user_management_options.available_roles.

1. Create the Role

Roles are created using an API call to POST /roles. You can find the full API reference here.

...