We are using the plugin “Affiliates Role” to create affiliate role. With this role the following two scenarios are coming in surface:
Scenario 1: We have created a new user using the Affiliate Registration page in front end. Both “Subscriber” and “Affiliate” role (shown as Subscriber, Affiliate) were assigned to this user automatically. And when we tried to view the WP admin panel (dashboard) of this user we found three Menus – 1) Products (came from WooCommerce plugin. And our developer customize the code to bring this menu in affiliate’s dashboard), 2) Affiliates and 3) Profile. Under the Affiliates menu an affiliate can see a) Affiliates, b) Visits & Referrals, c) Affiliates & Referrals, d) Traffic, e) Referrals, f) Totals, g) Notifications. Unfortunately under the Affiliates menu an affiliate can see all the statistics and records of other affiliates as well!
Scenario 2: We have created a new user as “Subscriber”. Then while we were logged-in to the system as a subscriber we signed up as an affiliate using the Affiliate Registration page in front end. This caused the system to change the role of the user from “Subscriber” to only “Affiliate” automatically. And when we tried to view the WP admin panel (dashboard) of this user we found two Menus – 1) Products and 2) Profile. The “Affiliate” menu was entirely missing this time.
Please advise how to overcome this situation. What is the original purpose of this “Affiliates Role” plugin. What did you intend to allow an affiliate to view and access in its WP dashboard.