Forum OpenACS Q&A: Re: Referencing the Persons table

Collapse
Posted by Jade Rubick on
Thanks, Jon.

If I can do it either way, I guess the advantage of choosing Persons would be that if I deleted a User, then there would still be a reference in my table to that person's name and whatever information was still left over... I think I'll go with that.

PS  How's your migration going? I checked your "upgrade document", and it looked like you hadn't completed it yet.

I should probably make up a document of my own, so that anybody else doesn't have to go through all this pain..

Collapse
Posted by Tilmann Singer on
I would recommend to use persons - it is explicitely there for representing single individuals in the system that do not need to have a login account. So you might have (don't know if you need that) authors that are not able to login but are entered by another user into the system.

You can later augment a person to a user by giving them an account. I think that's covered in the admin UI with 'select existing person from this system', but I'm not sure. If it's not there it should be easy to add a page for that.

Persons can also be associated with each other in groups, in case you want to model employees of different client companies or the like - it's not necessary to store them as users for that.