Permissions on PolicyGroups

1 view
Skip to first unread message

portado (sent by Nabble.com)

unread,
May 10, 2006, 10:59:11 AM5/10/06
to farcr...@googlegroups.com

I have 60 Groups, 60 Users and 60 Policy Groups.

When I select Policy group permissions the browser halts for 15 minutes
displaying on the status bar: "Initializing the validateLengthLT() and
isLenghtLT() validation scripts"


How can I fix this, I takes a lot of time to set up permissions this way.

--
View this message in context: http://www.nabble.com/Permissions-on-PolicyGroups-t1592426s621.html#a4321245
Sent from the FarCry - Dev forum at Nabble.com.

Geoff Bowers

unread,
May 10, 2006, 4:40:04 PM5/10/06
to farcr...@googlegroups.com
portado (sent by Nabble.com) wrote:
> I have 60 Groups, 60 Users and 60 Policy Groups.
>
> When I select Policy group permissions the browser halts for 15 minutes
> displaying on the status bar: "Initializing the validateLengthLT() and
> isLenghtLT() validation scripts"
>
> How can I fix this, I takes a lot of time to set up permissions this way.

I think you can't realy escape this the way the UI is currently
rendered. It effectively attempts to display all permission options in
one fell swoop with a JS interface that allows you to flick between
them. I'd say you'd need to rewrite the UI entirely.

Its worth noting that FarCry security model was never designed to allow
for user level security which is what you are attempting -- its really
focused at role level security. Do you have time to outline why you are
using 60 roles (1 per user)?

-- geoff
http://www.daemon.com.au/

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg


portado (sent by Nabble.com)

unread,
May 10, 2006, 5:15:18 PM5/10/06
to farcr...@googlegroups.com

Sure.

The company has 20 Departments. In each department I have 3 roles: edit,
review and approve.

So, for example for the human resources department I have:

- HREdit: the user that can post information and maintains the intranet
- HRReview: users of the HR department that can access private HR
information (in each department I have a private, shared and public folders)
- HRApprove: For the HR manager, this one can edit and approve information

I have the same setup for 19 additional departments.


--
View this message in context: http://www.nabble.com/Permissions-on-PolicyGroups-t1592426s621.html#a4328955

portado (sent by Nabble.com)

unread,
May 10, 2006, 5:24:21 PM5/10/06
to farcr...@googlegroups.com

This is really a good one. So I needed to integrate Farcry with Active
Directory. Turns out ntauth could keep up with the size of this directory so
here's what I did:


1. Validate the user against Active Directory

2. Get this user's group

3. Go to a table where I map the user's group to an equivalent farcry user
which has the level of access of this user (eg: HREdit, HRApprove, etc)

4. Get the username and password, put that into the same farcry form and
make farcry do the login thinking this is an ordinary user.

5. This user belong to the group HREdit, which is map to the Policy HREdit.
On the policy I just grant the user acces to approve, edit, etc, and on the
external group I give him access to the folders he can review.

So actually the users in farcry are being used as roles to integrate all
this with active directory. Otherwise I would have need to create 200 users,
instead of those 20.

Hope this is understandable :-)
--
View this message in context: http://www.nabble.com/Permissions-on-PolicyGroups-t1592426s621.html#a4329152

Blair McKenzie

unread,
May 10, 2006, 5:25:05 PM5/10/06
to farcr...@googlegroups.com
Can't you set up navigation access instead? ie Restrict each department to a particular sub-folder of the site? Then you would only need three roles overall.
 
Blair

 

portado (sent by Nabble.com)

unread,
May 10, 2006, 5:34:10 PM5/10/06
to farcr...@googlegroups.com

Well users only need to edit their folder, but browse other folders on the
site.

How is that possible using navigation access?
--
View this message in context: http://www.nabble.com/Permissions-on-PolicyGroups-t1592426s621.html#a4329347

Blair McKenzie

unread,
May 10, 2006, 6:29:21 PM5/10/06
to farcr...@googlegroups.com
In the site tab, right click on the navigation item, select permissions. You can set view to anonymous and edit to ... a role. It looks like you'd have to have a role for each department as well. Geoff, which permissions have priority? If a user is a member of group allowed to create content in a nav (department), and in another group that only has edit permission (role), can he create or not?

If the groups are simply added together you may right about having to have 60 roles portado.

Blair

On 5/11/06, portado (sent by Nabble.com) <li...@nabble.com> wrote:
Reply all
Reply to author
Forward
0 new messages