little problem with giving XWikiAllGroup delete rights...
hey, i want to give XWikiAllGroup delete rights... I added XWikiAllGroup with level delete, edit and view in the global rights manager but there is still no delete button in the topbar for any user of XWikiAllGroup. there are also no conflicting right-entrys in the space rights manager... is there anything i forgot to attend?
Assuming you're using the xwiki1b1/Albatross skin (the default Xwiki v1beta skin), then it could be restricted via the menuview.vm file. As I use a modified version on my own installation, I cannot say for certain but I seem to recall it looks for more than just edit/delete rights. In which case, you would need to check the file itself. Simply open the file menuview.vm (located under xwiki\skins\[skinname]), and look for an entry with the following text: #xwikitopmenuentry($doc.getURL("delete", $languageparams) $msg.get("delete") "tmDelete") Any additional checks around this would need to be altered to reflect your new permission structure in order to see the button. NOTE: Changing this file does not guarantee that users will be able to delete, you would still need to ensure delete rights are assigned. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 17 April 2007 11:08 To: [email protected] Subject: [xwiki-users] little problem with giving XWikiAllGroup delete rights... hey, i want to give XWikiAllGroup delete rights... I added XWikiAllGroup with level delete, edit and view in the global rights manager but there is still no delete button in the topbar for any user of XWikiAllGroup. there are also no conflicting right-entrys in the space rights manager... is there anything i forgot to attend?
Thanks, it works! The original code from menuview.vm: #if($hasadmin) #xwikitopmenuentry($doc.getURL("delete", $languageparams) $msg.get("delete") "tmDelete") #end -----Ursprüngliche Nachricht----- Von: Esbach, Brandon [mailto:[email protected]] Gesendet: Dienstag, 17. April 2007 12:25 An: [email protected] Betreff: RE: [xwiki-users] little problem with giving XWikiAllGroup delete rights... Assuming you're using the xwiki1b1/Albatross skin (the default Xwiki v1beta skin), then it could be restricted via the menuview.vm file. As I use a modified version on my own installation, I cannot say for certain but I seem to recall it looks for more than just edit/delete rights. In which case, you would need to check the file itself. Simply open the file menuview.vm (located under xwiki\skins\[skinname]), and look for an entry with the following text: #xwikitopmenuentry($doc.getURL("delete", $languageparams) $msg.get("delete") "tmDelete") Any additional checks around this would need to be altered to reflect your new permission structure in order to see the button. NOTE: Changing this file does not guarantee that users will be able to delete, you would still need to ensure delete rights are assigned. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 17 April 2007 11:08 To: [email protected] Subject: [xwiki-users] little problem with giving XWikiAllGroup delete rights... hey, i want to give XWikiAllGroup delete rights... I added XWikiAllGroup with level delete, edit and view in the global rights manager but there is still no delete button in the topbar for any user of XWikiAllGroup. there are also no conflicting right-entrys in the space rights manager... is there anything i forgot to attend?
participants (3)
-
Esbach, Brandon -
Timo Behrmann -
timo.behrmann@arvato-mobile.de