The concepts of comments and revisions currently apply to Assets and Logs in farmOS. I was wondering if it would be possible to extend these features to People records as well.
Having a revision history for “People” would provide a clear, trail of the access history, exactly who had access to the system and during what timeframe. This helps during an audit, it would be incredibly helpful to show a historical log proving that their organization had an active, authorized login throughout the entire required period even if it changed hands over time.
It would also be useful to log comments about why a particular persons access was added or removed.
But maybe revision is overkill and just a comments field would be enough?
Anyone have any thoughts on this?
2 Likes
Interesting idea!
From a technical standpoint, the user entity is provided by Drupal core, and I don’t think it tracks revision history. Maybe this could be altered, though. A quick search turned up this module, although I don’t know what its maintenance status is (the Drupal 11 version is in alpha and hasn’t been updated since 2023): https://www.drupal.org/project/user_revision
Comments might be easier to add, since that just requires adding a field to the user entity (IIRC). Of course, that would require manually leaving comments to describe the changes you make.
Having a revision history for “People” would provide a clear, trail of the access history, exactly who had access to the system and during what timeframe. This helps during an audit, it would be incredibly helpful to show a historical log proving that their organization had an active, authorized login throughout the entire required period even if it changed hands over time.
This could be very valuable, I agree! And if this is the prime motivation then maybe it would make sense to implement our own logic for tracking access changes specifically. I could see this being a useful module to contribute back to the Drupal community more generally, too.
1 Like
Poking around I also found this module. https://www.drupal.org/project/activities. Looks like it may cover some of the same audit items.
1 Like