I've created new role as ''Data Entry" and given below permissions.
1)Access admin area
2)Admin area. Manage Catalog
3)Public store. Display Prices
4)Public store. Enable shopping cart
5)Public store. Enable wishlist
While Uploading Picture sigh-in as "Data Entry" Role,I got an error "HTTP Error" .
After looking into InsertPicture method of Picture Controller ,I found
var customer = ((FormsAuthenticationService)_authenticationService).GetAuthenticatedCustomerFromTicket(ticket);
if (!customer.IsAdmin())
throw new Exception("User is not admin");
What is need to check customer is admin or not in Picture Controller?
If I want to give rights for Upload Product Picture to custom Role("Data Entry"),What should i do?
Thank You.