From: Brian A. <br...@ta...> - 2001-03-12 16:54:21
|
Chris Nandor wrote: > Yeah, I was thinking about something very similar at one point, and think > this is a nice idea. I wonder, though, if maybe users_param would be a > better user of this? So instead of: I would keep it out of users_param, but use the same schema. > Or, alternatively, implement users_acl _as_ a param-style table. The > problem, of course, is that we could have dozens of types of permissions, > and it is easier to just insert a new value than it is to change the schema > each time you want to add a new one (and this would make it more easily > extensible via the admin interface, too). Also, a table with a few dozen > fields could be slower and more bloated. The param style table is actually pretty quick for look ups. If the schema was modified to resemble a param table and we had patches for getUser() and setUser() I would probably be all for including it. It might be nice also to have a seperate table which described param's currently in use. -Brian |