• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a user and permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a user and permissions


  • Subject: Re: Adding a user and permissions
  • From: Ricardo Strausz <email@hidden>
  • Date: Fri, 11 Apr 2003 11:15:04 -0600

Some weeks ago, there was a post with a simmilar problem...
try to search for "3 level many-to-many" and the like; you should find good tips there.
Suerte!
Dino


On viernes, abri 11, 2003, at 07:38 America/Mexico_City, Jevon Hills wrote:

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

References: 
 >Adding a user and permissions (From: Jevon Hills <email@hidden>)

  • Prev by Date: Re: [webobjects-newbies] Adding a user and permissions
  • Next by Date: Re: java.lang.OutOfMemoryError
  • Previous by thread: Adding a user and permissions
  • Next by thread: PB Subprojects
  • Index(es):
    • Date
    • Thread