#94459be_user admin as Timestamp
Description
Hi,
I listened to a Laravel Podcast recently, and they suggested using booleans like isAdmin with timestamps instead of only 0 or 1.
The idea behind this is, that we have additional data like: isAdminSince, as the timestamp of the time when the user received the admin status is stored instead of just 1. When removing the privilege again, this is set to 0.
This will in my opinion also help to locate issues internally if someone gains/gets admin access, as we would be able to see since when they had this access.
I would be happy to do the implementation, if someone votes for this feature.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Georg Ringer changed Sprint Focus Needs Decision 06/20/24, 21:29
-
Georg Ringer commented and changed status
NewRejected 06/27/24, 13:17
Hey,
I discussed this with Christian Kuhn and we came to the conclusion that we don’t want to go this way because of:
- all queries would need to be changed and also user are trained differently
- we got the history for that
if you don’t agree, feel free to contact me via slack!