Grant vendor permission to a specific plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
I have developed a plugin which is to be used by both the Admin and the vendor. How can I grant vendor permissions to also view and use the plugin.
6 years ago
BbaaleEmz wrote:
I have developed a plugin which is to be used by both the Admin and the vendor. How can I grant vendor permissions to also view and use the plugin.

Since v3.90 you have plugins ACL. When editing an installed plugin you can give access to specific customer roles
6 years ago
Depending on your plugin, you may want to check permissions.  See the built-in plugins - for example the discount plugins:

        public ActionResult Configure(int discountId, int? discountRequirementId)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageDiscounts))
                return Content("Access denied");
6 years ago
Thanks for the reply guys. @Tecnofin I have added vendors to my plugin via Edit > Limited to customer roles. But still when I log in as vendor I cant see a link to use this plugin. Even when I manually add the url to my plugin in the address bar I get access denied. Is there a tutorial about granting  permissions to a specific plugins I can use.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.