Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@www.apache.org Received: (qmail 11085 invoked from network); 14 Jan 2004 16:04:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Jan 2004 16:04:46 -0000 Received: (qmail 3818 invoked by uid 500); 14 Jan 2004 16:04:36 -0000 Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 3788 invoked by uid 500); 14 Jan 2004 16:04:36 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 3768 invoked from network); 14 Jan 2004 16:04:36 -0000 Received: from unknown (HELO mail.jivecast.com) (198.143.231.106) by daedalus.apache.org with SMTP; 14 Jan 2004 16:04:36 -0000 Received: by mail.jivecast.com (Postfix, from userid 500) id 03FB21C403F; Wed, 14 Jan 2004 11:03:05 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.jivecast.com (Postfix) with ESMTP id EA6FC1C403D for ; Wed, 14 Jan 2004 11:03:05 -0500 (EST) Date: Wed, 14 Jan 2004 11:03:05 -0500 (EST) From: Jeff Painter X-X-Sender: painter@ipdev.imageproductsusa.com To: Turbine Users List Subject: RE: turbine security - viewing access in template In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N in your velocity template you can do the following On Wed, 14 Jan 2004, Mark Lybarger wrote: > > > > -----Original Message----- > > From: Mark Lybarger > > basicaly, i'm after a method which i can check a users > > security (see if user's group has a particular role) from > > within a velocity template. i have combo box that i need to > > display if the user is of a c ertain security, otherwise, i > > need to disable the combo box and have the default option be > > the selected option. ie, certain users can override shipping > > costs when submitting an order or something like that. > > > > thanks! > > > > ~mark > > Regards, Jeffery Painter - -- painter@kiasoft.com http://kiasoft.com PGP FP: 9CE8 83A2 33FA 32B1 0AB1 4E62 E4CB E4DA 5913 EFBC -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U YNXabx7DZOV2Hd9LwSTmGpY= =dWiu -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org