It's probably just an error, not a logout. On Tue, Jul 7, 2009 at 12:56 PM, Tomek Kott <[email protected]> wrote:
> *smacks head* > > Looking at email chain, it appears I forgot to mention that the problem > seemed to be solved by not using ftLibraryTypename. So I guess the deeper > question is why that was causing an error. Should I raise a bug? > > Tomek > > > On Mon, Jul 6, 2009 at 10:55 PM, Tomek Kott <[email protected]> wrote: > >> I haven't checked that (will tomorrow morning), but I double checked by >> logging in with the default 'farcry' user (which I thought pretty much had >> full permissions for anything). >> >> Regardless of that, should it really be logging me out instead of firing >> off an error? >> >> Thanks, Tomek >> >> >> On Mon, Jul 6, 2009 at 7:30 PM, Blair McKenzie <[email protected]> wrote: >> >>> More likely you are trying to do that with a user who doesn't have the >>> necessary webskin permissions. Have you added librarySelect (I think that's >>> it) to the role you're logged in under? >>> >>> Blair >>> >>> >>> On Tue, Jul 7, 2009 at 1:21 AM, Tomek Kott <[email protected]> wrote: >>> >>>> Hi folks, >>>> >>>> I have a base "Committee" type, with the following property: >>>> >>>> <cfproperty ftFieldSet="Committee Membership" ftWizardStep="Committee >>>> Membership" ftSeq="10" name="aCommPosition" type="array" ftLabel="Committee >>>> Positions" ftJoin="gsgCommPosition" ftAllowLibraryAddNew="true" >>>> ftAllowLibraryEdit="true" ftLibraryDataTypename="gsgCommPosition" >>>> ftLibraryData="getLibraryDataBySession"/> >>>> >>>> I know that the ftLibraryData function works and returns proper values. >>>> My first problem is this: when I specify ftAllowLibraryAddNew="true" the >>>> 'add new' tab does not show up. It only shows up if leave out that piece of >>>> metadata completely. Going past that for the moment, >>>> >>>> The "Committee Position" type has the following definition: >>>> >>>> <cfproperty ftFieldSet="Position Information" ftSeq="1" >>>> name="positionTitle" ftLabel="Position Title" type="string" ftType="list" >>>> ftList="Chair,Co-Chair,Secretary" bLabel="true"/> >>>> <cfproperty ftFieldSet="Position Information" ftSeq="2" >>>> name="assSession" ftLabel="Assembly Session" type="numeric" >>>> ftType="integer" >>>> default="getConfig('gsgConfig','gsgAssemblySession')" >>>> ftDefaultType="evaluate"/> >>>> <cfproperty ftFieldSet="Position Information" ftSeq="3" >>>> name="positionMember" ftLabel="GSG Member" type="uuid" ftJoin="gsgMember" >>>> bLabel="true" ftRenderType="list" ftLibraryData="getLibraryDataBySession" >>>> ftAllowLibraryAddNew="false" ftLibraryDataTypename="gsgMember" /> >>>> >>>> As you can see, I am again referencing a different type. However, I >>>> would assume that this would work in general since I am using the 'list' >>>> render type, which does not deal with the bigger library button etc. When >>>> editing this content type either directly or through the library interface >>>> of the "committee" type, everything seems to work fine. >>>> >>>> However, when I switch things around to have the 'add new' tab show up, >>>> the following message appears instead of the standard edit form: " You have >>>> been denied access to this item". It seems that I am getting logged out of >>>> the webtop before I can get to the form!!! This is odd, since I am checking >>>> this as a farcry administrator (sysAdmin or whatever its called). >>>> >>>> Any idea what could be going wrong with either of those two problems? >>>> 1) 'Add New' tab not showing up for ftAllowLibraryAddNew="true" >>>> 2) When I do get that to show up, why I am being kicked out? >>>> >>>> Thanks in advance, >>>> >>>> Tomek >>>> >>>> >>>> >>> >>> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
