Hi, i defined a new `:manager` role and gived Orde...
# support
w
Hi, i defined a new
:manager
role and gived OrderManagement PermissionSets, but i discovered that to ship the order a spree_api_key is required. i add to configuration
config.roles_for_auto_api_key = ['admin', 'manager']
I did’t find this info on docs, may be at least a comment on source code of OrderManagement would be useful. Thanks
t
What a coincidence, just yesterday I just came across something similar trying to create a new role with the OrderDisplay permission set. Loading the cart items in the admin required an API key and it took me a good while to figure that out. 💯 agree that some note in the documentation would be very helpful and time saving.
c
This would be a great addition to the developer docs on user permission sets https://github.com/solidusio/edgeguides/blob/main/docs/advanced-solidus/permission-management.mdx. Feel free to send a PR to add a note about this as I am sure others have run into this before!