Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand invite key generation #634

Merged
merged 14 commits into from
Feb 25, 2024

Conversation

WithoutPants
Copy link
Collaborator

Adds more options when generating invite keys. Clicking the Generate Key button now brings up a dialog with options for creating the invite key:

image

Allows for generating multiple keys at once, and each key may have a limited or unlimited number of uses. The expiry time is also configurable, allowing for times of x minutes, hours, days or years.

When an invite key has its uses exhausted, or the expire time is in the past, then it is considered an invalid key.

The invite keys section of the user page is changed to show the attributes of the invite keys:
image

Also changed to allow other admin users to view and revoke other users' generated invite keys.

@WithoutPants WithoutPants added the enhancement New feature or request label Apr 12, 2023
@InfiniteStash InfiniteStash added this to the 0.5 milestone Jul 13, 2023
@InfiniteStash InfiniteStash merged commit f165079 into stashapp:master Feb 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants