Permission for Menu Posted by Pazzo 06 Jan 2006 18:11 UTC Hello. I've install tikiwiki and now I want to create a group with determinate restriction, but i don't find what is the permission for "create and edit menu"... can someone help me?? thank a lot!
Posted by Gary Cunningham-Lee 08 Jan 2006 16:39 UTC A look at tiki.sql shows that there isn't a specific permission for creating and editing menues. tiki_p_admin is the permission indicated for tiki-admin_menus.php. -- Gary - zukakakina.com
Posted by Pazzo 09 Jan 2006 13:46 UTC > A look at tiki.sql shows that there isn't a specific permission for creating and editing menues. tiki_p_admin is the permission indicated for tiki-admin_menus.php. > > — Gary - zukakakina.com > > and isn't possible to create a new specific permission??
Posted by sylvie greverend 09 Jan 2006 14:01 UTC http://sourceforge.net/mailarchive/forum.php?thread_id=9386811&forum_id=12569 explains hox to do for poll sylvie
Posted by Pazzo 12 Jan 2006 12:41 UTC thanks!!!!!!! i'm going to try!! 😀 > http://sourceforge.net/mailarchive/forum.php?thread_id=9386811&forum_id=12569 > explains hox to do for poll > > sylvie
Posted by droald 06 Aug 2006 12:10 UTC > thanks!!!!!!! > > i'm going to try!! > 😀 > Pazzo, do you ever try this out. If yes, can you share your solution with me. I, too, am interested in allowing a certain group (teachers) add their own menus. Otherwise, I will be having to do this for them. Thanks! Diana
Posted by Gary Cunningham-Lee 07 Aug 2006 01:08 UTC Adding a new permission requires adding the new permission to the database, and modifying the file for the relevant page. Follow the instructions in the link given by Sylvie, but since that question concerns polls, you should replace "polls" with "menus" throughout the description. Making the new permission involves adding the permission (tiki_p_admin_menus to Tiki's database table users_permissions, and modifying the file to check if the user is in a group that has the new permission before allowing access. In this case, the file to modify is tiki-admin_menus.php at line 14 or so, where $tiki_p_admin will be replaced by $tiki_p_admin_menues. After adding the new permission to the db table, the next time you go to the admin groups page, you'll see it added to the list of permissions. Assign it as you do other permissions. -- Gary - zukakakina.com