Skip to content

fix: removing admin tokens when deleted#1728

Open
Tbaile wants to merge 1 commit into
mainfrom
token-expiration-removed-users
Open

fix: removing admin tokens when deleted#1728
Tbaile wants to merge 1 commit into
mainfrom
token-expiration-removed-users

Conversation

@Tbaile

@Tbaile Tbaile commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Closes: #1727

@Tbaile Tbaile requested a review from gsanchietti June 16, 2026 08:09

# Admin role changes are tracked in the rpcd configuration.
# `changes` is injected by ns.commit when the hook is exec'd.
if "rpcd" in changes and os.path.isdir(TOKENS_DIR): # noqa: F821

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this comment?

# noqa: F821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove sessions of demoted or deleted users

2 participants