[WEB-3964] refactor: permission layer (#7094)

* refactor: permission layer

* refactor: add original_role to project member serializer

* chore: minor fixes related to permission layer

* fix: strict type checking while checking user permissions
This commit is contained in:
Prateek Shourya 2025-05-30 19:57:07 +05:30 committed by GitHub
parent 322af8c436
commit 67cbe94d4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
64 changed files with 719 additions and 428 deletions

View file

@ -74,7 +74,6 @@ const OnboardingPage = observer(() => {
await finishUserOnboarding()
.then(() => {
captureEvent(USER_ONBOARDING_COMPLETED, {
// user_role: user.role,
email: user.email,
user_id: user.id,
status: "SUCCESS",