Project Access Tokens - Remove project membership when project access token expires
Summary
A project bot user (created when Project Access Token is created) is not deleted and converted to a ghost user when the access token expires.
Steps to reproduce
- Enable the
:resource_access_token
feature flagFeature.enable(:resource_access_token)
- Create a Project Access Token that expires in a day. "Project" -> "Settings" -> "Access Tokens"
- Wait until the token expires
- In "Settings" -> "Members" the project bot user will still exist
What is the current bug behavior?
Project bot user is not deleted when access token expires
What is the expected correct behavior?
Project bot user should be deleted and converted to a ghost user when access token expires
Edited by Serena Fang