Apps - collect/display last usage information

AI-generated summary

In a discussion under the topic “Apps - collect/display last usage information,” claas proposed enhancing the Apps section in User Preferences to display when each granted permission was last used — suggesting this data could also trigger automatic revocation of unused access. codinghorror endorsed the idea and asked if it could be included in version 2.1. sam agreed, proposing to add a simple “last used” timestamp sorted by recency, and a site setting to auto-expire keys unused for 6 months (default on) — calling it a “super welcome security change.” codinghorror reiterated approval, emphasizing safety by default. nbianca later confirmed the feature was under review via a GitHub pull request (PR #6264), which zogstrip announced was merged. sam cautioned users that “last use” tracking only began after the change, so some keys may inaccurately show recent usage — but this will correct itself over time as users interact with their apps.

The Apps section in the User Preferences displays when an access has been approved.

I suggest collecting and displaying information about when each access was last used, ideally per granted permission. (This data could also be used to automatically revoke unused accesses after some time.)

11 Likes

Oh that’s a great idea, can we add that in 2.1 @sam?

2 Likes

Sure I would like to just add a simply “last used” and sort so last used is on top.

Also, will add a site setting to “auto expire” keys that have not been used for say 6 months, default on. Which is a super welcome security change.

13 Likes

A+++ excellent idea, we like to be safe by default. Let’s be sure this goes into 2.1

3 Likes

What is the status of this @nbianca?

1 Like

It is currently under review.

https://github.com/discourse/discourse/pull/6264

3 Likes

PR has now been merged :muscle:

4 Likes

Note, before someone reports this here :snowman_with_snow:

We only started tracking “last use” after this change. This means that the user profile says “Last use: 8 hours ago” on some keys you may have not used in years.

This will “fix itself up” over time, no real choice here but to start somewhere.

4 Likes

This topic was automatically closed after 4 days. New replies are no longer allowed.