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

Allow API key access by default #1205

Closed
wants to merge 3 commits into from
Closed

Conversation

ekzyis
Copy link
Member

@ekzyis ekzyis commented May 29, 2024

Description

This PR updates every user to allow them API key access by default. The info was also updated to mention that this access can be disabled at any time.

Motivation for this is to allow anyone to build on SN without having to ask for permission in ~meta. API key access was disabled by default in #915 to limit our exposure to this new auth method. With #980 and #989 in place and after having gauged initial interest, I think it's safe to remove this requirement now.

Additionally, any item created with API keys will now be marked as bot.

Screenshots

2024-05-29-025646_594x85_scrot

Checklist

Are your changes backwards compatible? Please answer below:

Yes

Did you QA this? Could we deploy this straight to production? Please answer below:

Yes

For frontend changes: Tested on mobile? Please answer below:

Did you introduce any new environment variables? If so, call them out explicitly here:

@ekzyis ekzyis force-pushed the api-key-default-access branch from fa727fa to 6459295 Compare May 29, 2024 08:29
@ekzyis
Copy link
Member Author

ekzyis commented May 30, 2024

Closing because we currently have different priorities and not the resources to deal with any potential downfall of this.

For the same reasons, we're not going to allow any more API keys for the moment.

We discussed that having additional filters like #690 would give us more confidence in allowing general API access.

@ekzyis ekzyis closed this May 30, 2024
@ekzyis ekzyis deleted the api-key-default-access branch May 30, 2024 02:11
@ekzyis
Copy link
Member Author

ekzyis commented May 30, 2024

@huumn, I think we can cherry-pick 71db5e8 and 6459295 from this branch. What do you think?

@huumn
Copy link
Member

huumn commented May 30, 2024

Yes I agree!

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.

2 participants