under the user's role, you probably need to edit the webskin portion to
include: dmVideo.showMission

That should get the job done...

On Mon, Nov 23, 2009 at 8:46 AM, Phil Kemp <[email protected]> wrote:

>
> Greetings,
>
> I've got two custom types that are linked together in an Array table. In
> the
> object admin page script at
> /farcry/projects/xx/customadmin/customlists/dmVideo.cfm I have added the
> code:
>
>
>
> >       aCustomColumns = arrayNew(1);
> >       aCustomColumns[1] = structNew();
> >       aCustomColumns[1].webskin = "showMission.cfm";
> >       aCustomColumns[1].title = "Mission";
> >       aCustomColumns[1].sortable = false;
> >       aCustomColumns[1].property = "label";
> >
>
> The showMission file is in the right place -
> webskin/dmVideo/showMission.cfm
> but for this column I get the message You have been denied access to this
> item instead of my output. The code from this file is
>
>
>
> > <cfquery name="qMissions" datasource="#application.dsn#">
> >       SELECT DISTINCT label
> >       FROM dmmission_avideos
> >               LEFT JOIN dmmission ON parentid = objectid
> >       WHERE data = <cfqueryparam value="#stObj.objectId#" />
> > </cfquery>
> > <cfoutput>#qMissions.label#</cfoutput>
> >
>
> So, why am I getting denied? I don't want to give out rights to the user in
> question as they are only allowed to do a couple of things. Do I need to
> set
> up something in the role's webskin - if so, what?
>
> Cheers
> Phil
>
> -----
> I got bored, so...  http://philkemp.white.prohosting.com/farcry/
> http://philkemp.white.prohosting.com/farcry/
> --
> View this message in context:
> http://old.nabble.com/%22You-have-been-denied-access-to-this-item%22---but-why--tp26478298s621p26478298.html
> Sent from the FarCry - Dev mailing list archive at Nabble.com.
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: 
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry

-- 
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