• 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
Adding a user and permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Adding a user and permissions
      • From: Ricardo Strausz <email@hidden>
    • Re: [webobjects-newbies] Adding a user and permissions
      • From: Brian Wainwright <email@hidden>
  • Prev by Date: D2JC exception with many to many...
  • Next by Date: PB Subprojects
  • Previous by thread: D2JC exception with many to many...
  • Next by thread: Re: [webobjects-newbies] Adding a user and permissions
  • Index(es):
    • Date
    • Thread