No. If the tray is turned off for them they shouldn't be using the tray url.

Blair

On Fri, Jul 24, 2009 at 7:49 AM, Marco van den Oever <
[email protected]> wrote:

>
> I noticed that when using:
>
> <!---  check role and hide admin tray for Customers and Resellers role
> --->
> <cfif application.security.hasRole("Customers") neq "0" or
> application.security.hasRole("Resellers") neq "0">
> <cfset request.bHideContextMenu = true />
> </cfif>
>
> Customers and Resellers roles can still use the admin tray when the
> admin tray url is used:
>
> webtop/tray.cfm#%2Fshop%2Findex.cfm%3F|summary
>
> is that a bug?
>
> On Jul 23, 1:40 am, Marco van den Oever <[email protected]>
> wrote:
> > I mean, you want to allow customers to have an cms by giving them the
> > admin permission, but of course you don't want to allow customers or
> > other users to reload the application etc...
> >
> > On Jul 23, 1:38 am, Marco van den Oever <[email protected]>
> > wrote:
> >
> > > No i want the customer be able to use the webtop but not see the tray
> > > at the site...
> >
> > > On Jul 23, 1:38 am, Blair McKenzie <[email protected]> wrote:
> >
> > > > The tray is displayed for anyone who has the Admin permission, which
> is also
> > > > what allows access to the webtop. Just remove that permission from
> your
> > > > customer role and they shouldn't see the tray any more.
> >
> > > > Blair
> >
> > > > On Thu, Jul 23, 2009 at 9:36 AM, Marco van den Oever <
> >
> > > > [email protected]> wrote:
> >
> > > > > But that hides the menu always? When customers use the website i
> don't
> > > > > want them to see it, when an admin use the website i do want them
> to
> > > > > see it.
> >
> > > > > So do i have to make a custom "userrole if then" code with:
> >
> > > > > <cfset request.bHideContextMenu = true />
> >
> > > > > included?
> >
> > > > > And put it at top in the types/displayheaderStandard.cfm?
> >
> > > > > On Jul 23, 1:21 am, modius <[email protected]> wrote:
> > > > > > On Jul 23, 9:06 am, Marco van den Oever <
> [email protected]>
> > > > > > wrote:
> >
> > > > > > > Customers can use the webtop, but once logged in i don't want
> them to
> > > > > > > be able to see and use the front end admin menu bar, how can i
> do that?
> >
> > > > > > Put this at the top of the view:
> >
> > > > > > <!--- deactivate the tray --->
> > > > > > <cfset request.bHideContextMenu = true />
> >
> > > > > > For example, this is what's been done in this sample code for
> building
> > > > > > an itunes feed -- cos you don't need the tray mucking up your
> feed :)
> > > > >http://docs.farcrycms.org/display/FCDEV50/Sample+iTunes+Feed
> >
> > > > > > Hope that helps,
> >
> > > > > > -- geoffhttp://wwww.daemon.com.au/
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to