Thanks Blair.

https://farcry.jira.com/browse/FC-2398


On 26 Nov 2010, at 10:40, Blair McKenzie wrote:

> The overview pages were revised quite a bit in 6. There should be a 
> "PERMISSIONS User Access" button on the left. If there isn't, that's a bug.
> 
> Blair
> 
> On Fri, Nov 26, 2010 at 9:30 PM, [email protected] <[email protected]> 
> wrote:
> Hi
> 
> I am trying to do the same for dmNews 
> (https://farcry.jira.com/wiki/display/FCDEV50/Object+specific+permissions). 
> What I need is to make some of the dmNews content only accessible to the 
> members. Other news contents will be accessible to public & members. 
> 
> I have created /myproject/packages/types/farBarnacle.cfc as follows:
> 
> <cfcomponent displayname="Barnacle" hint="Used to grant an item specific 
> permissions." extends="farcry.core.packages.types.farBarnacle" output="false">
>       <cfproperty name="referenceid" type="uuid" default="" hint="The object 
> this barnacle is attached to"
>               ftSeq="3" ftFieldset="" ftLabel="Object"
>               ftType="uuid" ftJoin="dmNavigation,dmNews" />
> 
> </cfcomponent>
> 
> At step 2, I highlighted the "Navigation and News". Then reloaded the 
> security as mentioned at step 3. My problem is step 4 though. I cannot see 
> the "Miscellaneous -> Manage permissions". I am on Farcry 6-0-7.
> 
> Is this approach above only for FC 5.x?
> 
> Thanks
> 
> Tunç
> 
> On 5 Oct 2010, at 23:27, Blair McKenzie wrote:
> 
>> For extending object specific permissions to your own types:
>> https://farcry.jira.com/wiki/display/FCDEV50/Object+specific+permissions
>> 
>> Blair
>> 
>> On Wed, Oct 6, 2010 at 9:14 AM, Scott Mebberson <[email protected]> 
>> wrote:
>> Hey Geoff,
>> 
>> Thanks for that. With the new setup, where would the best place to put
>> that view controller logic? I'm guessing an overridden method in my
>> custom object, which extends farcry.core.packages.types.types.
>> 
>> I checked out getDisplay but that doesn't seem to be executed. So I'm
>> thinking getView would be the place to put it?
>> 
>> cheers,
>> Scott.
>> 
>> On Oct 5, 9:48 pm, modius <[email protected]> wrote:
>> > You'd only be looking at farBarnacle if you were looking at tree-based
>> > content types that you wanted to bind to the inheritance model on the
>> > tree. Otherwise you might as well just look at the ownership id of the
>> > individual content instance -- and that would be pretty
>> > straightforward.
>> >
>> > You can list objects that match the same ownership id and also put a
>> > check on the edit handler to block users who don't have a matching
>> > ownership id.
>> >
>> > Hope that helps,
>> >
>> > --geoffhttp://www.daemon.com.au/
>> >
>> > On Oct 5, 10:25 pm, Scott Mebberson <[email protected]> wrote:
>> >
>> >
>> >
>> > > I've been looking into the new security stuff in application.security.
>> > > I've been trying to work out how to secure an object, specific to user
>> > > and permission. For example, I'd like userA to have the ObjectView
>> > > permission for a particular object, but I don't want userB to have the
>> > > ObjectView permission for the same object.
>> >
>> > > It looks like application.security.checkPermission is what I'm looking
>> > > for, but I don't want to secure based on roles alone, but be as
>> > > specific as the user itself.
>> >
>> > > I get the feeling this isn't possible? Any ideas on what the best way
>> > > to approach the above is?
>> >
>> > > I'm creating a custom editing interface, and this stuff has nothing to
>> > > do with formtools or FarCry admin. I basically want to secure the
>> > > editing interface for objects, such that only the owner can view the
>> > > editing interface for the objects they own. Is there a way to
>> > > elegantly achieve what I want using the ownedby property of
>> > > farBarnacle?
>> 
>> --
>> 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
>> 
>> 
>> -- 
>> 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
> 
> 
> -- 
> 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
> 
> 
> -- 
> 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

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