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

fix: turn off access control endpoints for api docs #27806

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

zlwaterfield
Copy link
Contributor

@zlwaterfield zlwaterfield commented Jan 22, 2025

Changes

Access control endpoints are showing in API docs when they shouldn't, turning off via the drf_spectacular decorator.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

It doesn't have an impact.

How did you test this code?

Manually

@zlwaterfield zlwaterfield self-assigned this Jan 22, 2025
@zlwaterfield zlwaterfield requested review from timgl, benjackwhite and a team January 22, 2025 22:50
@zlwaterfield zlwaterfield changed the title Turn off access control endpoints from drf_spectacular fix: turn off access control endpoints from drf_spectacular Jan 22, 2025
@zlwaterfield zlwaterfield changed the title fix: turn off access control endpoints from drf_spectacular fix: turn off access control endpoints for api docs Jan 22, 2025
@zlwaterfield zlwaterfield merged commit d96f247 into master Jan 23, 2025
98 of 99 checks passed
@zlwaterfield zlwaterfield deleted the zach/rbac/11 branch January 23, 2025 01:44
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