MetaMask / MetaMask/metamask-extension

Add "inactivity logout" caveat

Open
#7,096 1 comment 0 reactions 0 assignees View on GitHub
area-permissions area-settings type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

This would be a caveat for RPC That allows a given permission to be limited to a maximum time. This can be useful for any permission that needs to be limited for an amount of time, but could be a pretty simple caveat to add that would allow for a feature like "log me out after X minutes" or "log me out after X weeks".

This would be a feature addition, and at some point I'm sure we would want to allow users to select a limit to the duration of a data connection, but it isn't a pressing necessity for now.

Contributor guide

Open the contributing guide

Research direction

The issue does not name any files, tests, or entry points. Begin by tracing the RPC caveat and permission-duration handling, then clarify the intended inactivity/logout behavior and completion criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.