I'm developing a site for a client and when done I'll remain as superuser but the client will have a reduced admin role. Specifically, I want them to be able to administer the Ubercart from the UC Store Links menu. But on that menu there doesn't seem to be a way to create a product. It seems you can only do that from the main Drupal Administer-Create Content menu. This seems strange as product categories can be created from the Store Links menu. Am I missing something?
One way to set up permissions is to create a role. admin/user/roles. Then at admin/user/access check what roles or permissions that person has, etc. If the role is named editor, then that person can log in with their own user/pass and only have certain permissions to edit/create a story/page/product, etc. Works great when a site requires different editors for various aspects of the site.
Jim
Thanks, Jim, but I'm not sure that answers the question.
Since the Store Links menu does just about everything a store owner would want to do, I'm wondering why there isn't an Add Product option, considering there's a link to creating a new category.
It would just make it easier when a developer offloads a website to the end user.
My guess, and it's purely theoretical, is just for simplicity. Since a product category is not a "Node Type" but a product is. I think having the creation link in two different areas could get confusing. And to have it NOT be in the same area as "Create content" would be very strange, because then you are fighting against the Drupal way of doing things (not saying you were suggesting this, just pointing it out as another scenario).
It WAS confusing for some people to have a create content link in two different places. It's certainly not worth the effort to remove the link from the Create content page, so that's where it ended up.
I can understand keeping your client in the Store administration section, though. You ought to be able to add a menu item to it that links to the node/add/product page. You'd have to add one for each product class, so you might think about writing a module that does it for you.
+1 to tP/Lurl.
You can simply add your own menu item to the menu tree that points to the node/add page and he'll see a list of any content types he's able to create... you shouldn't have to make a new link for each product class then. Title it whatever you want, and the store owner will be none-the-wiser.
Change menu link for "Product" under Create content to "Add Product" under Store Administration > Products
Navigate to
Home > Administer > Site Building > Menus
find Product under – Create content and click edit.
Change Title from [Product] to [Add Product], then change parent item from [--- Create content] to [----- Products] in the pull down list.
Now the link is under
Home > Administer > Store Administration > Products
where you will find “Add Product†in the sub menu.
In my site, Create content menu is still visible after admin logs out.How to solve? Thanks.
alpo - if Create content is still showing for anonymous user it is because you have gave create content privlages to the anonymous user role.
To fix folow the url-suffix,(clean urls), and perform the described action.
admin/user/role
anonymous user < edit
or
admin/user/access
uncheck all boxes that give anonymous user permission to create content. For the most part,(some exception allowed) the only permission that anonymous user should have is view content. maybe post comment, but never without admin aproval.



