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

feat: rbac migrations scripts #27711

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

feat: rbac migrations scripts #27711

wants to merge 16 commits into from

Conversation

zlwaterfield
Copy link
Contributor

@zlwaterfield zlwaterfield commented Jan 21, 2025

Changes

Follow along for RBAC project here: #24512

Adding in the two main migrations for feature flags role access and projects (teams) access on private projects. This isn't triggered anywhere yet, just layering in the scripts for them and adding a view so they can be run from the client upon user request.

This is all built under a single organization endpoint so they can be run all together for an organization.

👉 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?

Added tests

posthog/api/organization.py Fixed Show fixed Hide fixed
posthog/api/team.py Fixed Show fixed Hide fixed
@zlwaterfield zlwaterfield changed the title feat: rbac migrations for feature flags and projects (teams) feat: rbac migrations scripts Jan 29, 2025
Copy link
Contributor

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

Your PRs are so nice.

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