I was under the impression that that button would appear, as you say, for
any type with barnacle permissions on it. That's how I wrote it, anyway :)
What version of core is this in?

Blair

On Tue, Aug 30, 2011 at 4:52 AM, Tomek Kott <[email protected]> wrote:

> It appears that in 6.0.16, webskin/types/webtopOverviewActionsPrimary.cfm,
> line 310, there is the following:
>
>         <!--- create child objects for dmNavigation --->
>         <cfif stobj.typename EQ  "dmNavigation">
>
>             <cfif application.security.checkPermission("ModifyPermissions")
> and
> listcontains(application.fapi.getPropertyMetadata(typename="farBarnacle",
> property="referenceid", md="ftJoin", default=""), stObj.typename)>
>                 <ft:button     value="Modify Permissions"
>                             text="PERMISSIONS<br>User access"
>                             class="secondary"
>                             type="button"
>                             style="width:180px;"
>                             onClick="$fc.openDialogIFrame('Permissions',
> '#application.url.farcry#/conjuror/invocation.cfm?objectid=#stObj.objectid#&typename=#stObj.typename#&method=adminPermissions');"
> />
>             </cfif>
>         </cfif>
>
>
> Is there a reason this is only valid for "dmNavigation"? The second <cfif>
> in there tests whether the typename is properly defined in farBarnacle. When
> I extended farBarnacle in my project, I specified a certain typename that
> should have permissions attached. Before the 6.0.x update, I could get at
> the permission list via the dropdown box in objectadmin. This option is no
> longer available, so I went looking. It appears the above code could be
> safely changed to remove the overall cfif, and allow the
> farBarnacle.referenceid to properly do it's job.
>
> Thoughts?
>
> Also, anyone notice that if you click one of the "grant" or "deny" buttons
> in the Permissions UI, that the button shrinks? Is it just me, or should I
> file this as a bug as well?
>
> 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

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