Adding a user and permissions
Adding a user and permissions
- Subject: Adding a user and permissions
- From: Jevon Hills <email@hidden>
- Date: Fri, 11 Apr 2003 07:38:11 -0600
I'm still new a WebObjects, and do not yet fully understand what WO can
do for me. I still tend to think like I'm writing jsp's and servlets.
My problem to day is I want to create a user in my database and give
them permissions to use a specific application.
My database has 4 tables to to this USERS, PERMISSIONS, APPLICATIONS
and the link table APPLICATIONUSERPERMISSIONS (holds each of the 3
tables id's).
I have manage to create a user using a WODisplayGroup and inserting a
new object. How do I get that User permission to use a specific
application.
I have not tried to flatten this relationship yet, and I know what app,
and what permission I want to give them, I just don't know how to
create it.
Can someone help me??
My logic so far is this:
//create a new 'empty user' by inserting A new object into a
WODisplaygroup
//populate their data
//save the session
What do I do next??
Jevon K. Hills
Developer - Zymeta Media Promotion Systems
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.