noskule <noskule <at> gmx.net> writes: > > hi list > Is it somehow possible to query if the loged-in user belongs to a certan > authorisation group? > > To do something like > > (:if authid <at> admins {*$Group}.SideBar:)[[{*$Group}.SideBar?action=edit]] > > thanks for any hints > nos >
I don't know about "member of @group" but it is possible to do based on current authorization level. 1. If the user has an ID, personalize the site: (:if authid:) %sidehead%User: {$AuthId} 2. Display different links depending on what he can do: (:if auth edit:) [[{*$FullName}?action=edit|Edit]]\\ (:if auth admin:) [[{*$FullName}?action=attr|Page Password]]\\ [[Site.Site|Site Admin]] (:if:) Hope this helps! Sandy _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users