|
|
Posted by Michael Fesser on 09/30/07 19:35
..oO(Dikkie Dik)
>Michael Fesser wrote:
>>
>> In my system one account = one user. The accounts table keeps user
>> names, login names, password hashes, account creation and expiration
>> dates, date of last login, privilege and status flags and such things.
>
>So what do you do if you want to disable login for that user? You'd want
>to remove the account, but not the user. Account data are "live" data,
>while user data are "reference" (read-only) data. Even the nature of
>these entities is very different.
To disable an account I would just unset a bit in its 'privileges'
field. Then the user still exists, but can't login anymore.
Micha
[Back to original message]
|