Add last updated time for users/tenants/roles

Bug #1156904 reported by Joshua Harlow
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Opinion
Wishlist
Kent Wang

Bug Description

When a user/tenant/role gets updated it would be nice to have a 'last_updated' time of when that occurred. For those using a database to store this information it helps if said information exists so that 'stale' information can be cleaned (or users which no longer exist after X time can be dropped).

Tags: sql
Revision history for this message
Dolph Mathews (dolph) wrote :

For consistency with other timestamps exposed by the API, this should be exposed as 'updated_at'; however, I'm not sure that all drivers could support this feature (e.g. identity.ldap?), so it may have to be an optional attribute at the API level.

Changed in keystone:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Eric Brown (ericwb) wrote :

LDAP can have an attribute called "modifyTimestamp". I know OpenLDAP usually has it.

From RFC 4512:
   Entries may contain, among others, the following operational
   attributes:

      - creatorsName: the Distinguished Name of the user who added this
          entry to the directory,

      - createTimestamp: the time this entry was added to the directory,

      - modifiersName: the Distinguished Name of the user who last
          modified this entry, and

      - modifyTimestamp: the time this entry was last modified.

Kent Wang (k.wang)
Changed in keystone:
assignee: nobody → Kent Wang (k.wang)
tags: added: sql
Changed in keystone:
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.