PDA

View Full Version : Users


liquidws
04-26-2009, 05:47 PM
hello..

when i create a User with Editor priviledges.. they can only edit Articles, and My Profile. how can i give that exact user the Categories privileges so he can edit, add, delete categories?

this would be useful because then t eh user can manage the dhtml_menu

thanks in advance

millkins
04-27-2009, 08:49 AM
Well if you go to administration > Users and you will see a little pencil beside the Editor group that accesses the user edit panel and there you can check the categories in which editor can read, write or erase articles. :)

You can read more about it here http://wiki.vivvo.net/user_manual/users

damic
04-27-2009, 09:02 AM
But... how can I give a editor/writer/trusted writer the ability to ADD/EDIT/DELETE full categories in the system - I mean, as in using the Category creator - seeing the tree, adding a category/sub-category, etc?

millkins
04-27-2009, 09:21 AM
I am really very sorry I misunderstood you. Only admin can erase the categories because of this line of code inside of lib/vivvo/Categories.service.php around line 126.


if($sm->user->is_admin()){


So you need to adjust that so someone else than admin can delete categories

damic
04-27-2009, 09:46 AM
No problem millkins :) ... just wanted to ask.

But does that mean that any user - editor/writer/trusted writer would then be able to see the cats? Not sure what liquidws was trying to do with it - but my thought was to only allow admins and trusted writers, etc.... just one of the user assignments other than admin. That way a normal editior wouldn't have the option.

And since we're talking about the category area.... any idea on how to have it collapsed on entry to that page? I saw the code adjustment here

http://www.vivvo.net/forums/showthread.php?t=3611

but that doesn't seem to be working in 4.1.2.