I've fixed the policy groups so that Root has "No" across the board just like the standard FarCry policy groups. This has taken care of inheritance and the "Create" menu item showing up when it shouldn't.

Now... The "Move" menu item shows up. I've debugged it down to the hasPermission() function returning -1 for no. However it seems that some of the menu items such as "Move" use hasPermission() as a boolean-returning function instead of checking for hasPermission() >= 0. The "Move" item uses the edit permission which now returns "-1" and allows the item to show.

So my question to the developers is: Should hasPermission() return a boolean or the actual FarCry permission code?

I wouldn't be so picky about this, but I have a lot of people in there who could easily mess things up if they go on a clicking spree (and one guy who already tried) and I'd like to get the menu secured down. :)

Thank you!
--Kyle

Kyle Singer
Lead Web Developer
*Whitman College*
/[EMAIL PROTECTED]/



Kyle Singer wrote:

Ah.. right after I sent my update I took a look at how permissions on the Root node are setup. We aren't using the built-in Contributors and Publishers groups. I see they have all permissions set to "No"

That tells me that if you get to the root node and still have "inherit" as the permission it's an assumed "yes"?

I will update our groups to have "no" permissions on root to see if that helps.

--Kyle

Kyle Singer
Lead Web Developer
*Whitman College*
/[EMAIL PROTECTED]/



Tom Cornilliac wrote:

Hey Kyle,

I can't say I've seen this in 2.2 . Have you tried rebuilding permissions?

~tom


On Thu, 10 Feb 2005 09:30:49 -0800, Kyle Singer <[EMAIL PROTECTED]> wrote:


I wish I was smart enough to understand the big javascript overview tree,
but alas...


We have a problem in that anybody (even if they don't have create
permissions) can create objects anywhere in the tree using the right-click
menu. Once created they can't really do anything with them. Can somebody
please tell me that theirs does this as well? I'm not sure what to do or how
to fix this.


I'm going to continue to look at the overview.cfm tag, but I'm hoping
somebody might have more info for me.

We're running FarCry 2.2.

Thanks!
--Kyle



--


Kyle Singer Lead Web Developer

Whitman College
[EMAIL PROTECTED] ---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED] Aussie Macromedia Developers:
http://lists.daemon.com.au/


---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to