Maybe putting theses macro is a scary macro category like "System" would be enough for user to not use them in your case ?
On Thu, Apr 7, 2011 at 10:05, Marius Dumitru Florea <mariusdumitru.flo...@xwiki.com> wrote: > Hi Ramon, > > The WYSIWYG editor takes the list of macros from the MacroManager and > the MacroCategoryManager server side components. The editor doesn't > filter the list of macros and AFAIK neither the MacroManager and > MacroCategoryManager, so the only solution is to provide a custom > implementation for these components that filter the macros based on your > constraints. Here you can find the default implementations > https://github.com/xwiki/xwiki-rendering/tree/master/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/macro > > Hope this helps, > Marius > > On 04/07/2011 12:20 AM, Ramon Gomes Brandão - SERINT wrote: >> Hi XWiki Team, >> >> I would like to hide some macros from the user, in the list presented on the >> WYSIWYG editor menu "Insert Macro". How can I do that? >> >> The matter is only hiding some of them from the user, to prevent him/her to >> select it to use on the page creation. Some of them are not familiar to my >> users, and I would like to "disable" the possibility of use. How can I do >> that? >> >> And also, is it possible to show those hidden ones only to the admin or the >> admin group, or a specific group? >> >> I'm using XE 3.0 >> >> Regards, >> >> Ramon Gomes Brandão >> >> _______________________________________________ >> 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 > -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users