Adding new rules to policy database
Adding new rules to policy database
- Subject: Adding new rules to policy database
- From: "Mazen M. Abdel-Rahman" <email@hidden>
- Date: Mon, 09 Nov 2009 11:12:28 -0700
Hi All,
I know that one can add a new right specification to the policy
database via the function AuthorizationRightSet. Is there any
functions or APIs for adding new rule specifications?
I want to create a new group - and allow only members of that group to
access parts of my application. To do that I added a new rule
directly to the policy database - and then created a new rights
specification that uses that rule. The rule specifies that the user
be a member of the group I created. I modeled it on the "is-
developer" rule.
Anyways - I just want to check if there's an API I can use in my code
to add new rules instead of doing it directly through an editor.
Thanks,
Mazen Abdel-Rahman
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden