Currently Project, Domain, Role, User, Group models don’t have a timestamp. Although we can get a detailed auditing information via CADF audit event records, we may need a simple way to determine when these resources were created and when they were last modified.
We don’t want to make one specification that fixes all models. So, this specification will only implement timestamps for assignment models: Project, Domain, Role.
Because LDAP assignment backend will be deprecated in next cycle and be removed in the future, we only implement this in SQL backend.
According to the Reseller specification, the Domains and Projects will become one resource type, so this specification only implements timestamp for Project and Role.
Actually, oslo.db has provided a TimestampMixin object for timestamp models. The only thing we need to do is to make Project, Role inherit from TimestampMixin and then add a database migration script.
None
None
None
None
None
None
None
Update the Projects and Roles sections of documentation.