I do not have permission to post under Developers, so adding this here.
Version: Store Builder (CS-Cart Ultimate) 4.17.2
What is the proper way to build an Addon for this scenario:
Display a report that will show Orders for a single Storefront. The report should only be visible to members of a specific User group.
Should this be an Administrator User group or can I use a Customer User group? My assumption is the former since there doesn’t seem to be any place to link reports for Customers.
For an Administrator account…
Am I able to add a link that would show under Orders?
Is it possible to add a separate link in addition to Orders, Products, Customers, Marketing and Website (or is that not proper Addon design)?
Only the root branch of the Developers category is closed to new topics. I’ve moved this topic to the Developers > Backend branch.
You will need to create a new privilege for the administrator groups. An example of how to add a new privilege can be found in the gift_certificates add-on. Check the app/addons/gift_certificates/addon.xml, it contains an SQL query to add a new privilege to the ?:privileges table on installation and remove it on uninstall of this add-on. The new privilege is described in the schema app/addons/gift_certificates/schemas/permissions/admin.post.php.
For sure. Check the app/addons/gift_certificates/schemas/menu/menu.post.php schema for the example.