Re: perm and user.auth_datasource
Manuel Holtgrewe <[email protected]> Wed, 02 Mar 2005 20:38:08 +0100
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
Jean-Christophe Michel schrieb: > Hi Manuel, > > I still have a question. > Is it necessary that Perm retrieves the user.auth_datasource from user > table? > Because in simple access restriction case like mine, the auth_datasource > is always the same > (there's only one) and it's the same as perm_ds. > So i thought of dropping this field from the user table. > > What is this field useful for in Perm ? > Why not let the AUthenticator return the auth_datasource, but aboid to > query for it in any other place ? Users are uniquely identified by their name and auth_datasource. In order to simplify relations to them, a surrogate key "id" is added. The auth_datasource is simply required to identify them - a user name is not enough. How does the existance of the field annoy you? Manuel _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev