Hello, the better I found is to hide "delete/rename" menu with CSS:
/* Hide rename and delete */ #tmActionRename{ display : none; } #tmActionDelete{ display : none; } If I want to display them for a certain group: I call another SSX with display:block. Of course it is not a very good way because owner can typing the right URL to delete his doc with ./bin/delete/Spave/Doc BTW, when a user create a new doc (docSheet with Class), I want redirect him to another page if he click on Cancel. And can I modify default doc when a user try to create a new doc? Thxs for any help. Pascal B -------------------------------------------- En date de : Ven 13.2.15, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : Objet: [xwiki-users] Prevent delete some page À: "XWiki Users" <users@xwiki.org> Date: Vendredi 13 février 2015, 19h34 Hello, In my xwiki application, I want prevent user to delete pages (even he is the creator). Users create page with my form (some class/Sheet/Template/Velocity/API xwiki) and of course I want to keep original UserCreator info in the doc. Is it possible? I didn't manage with right access (XWiki.XWikiRights object). thxs Pascal B _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users