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

[DPCP-2] WIP: Org Tenancy Schema #1

Merged
merged 22 commits into from
May 12, 2024
Merged

Conversation

angeloreale
Copy link
Collaborator

PLEASE REVIEW YOUR OWN PR BEFORE OPENING/UN-DRAFTING IT

[DPCP-2] Org Auth - Tenancy

Part of Org Auth tenancy work (migrated from @dreampipcom/nyx on 12.05.2024)

As the final back end step for this ticket, we need to be able to:

  • define the authorization model
  • define the authorization flow

This PR updates the types and schemas to ensure that:

  • we have a data model that serves the flow we have architected.
  • we have this model enforced in the default org (default service, default feature)
  • we have this model mapped to a schema that is enforced by default when a new user signs up (gets added to default org with default role and abilities)

Here is the full flow model:
image

Here is the model we're aiming to achieve with this PR (skipping some view actions, but using the same model):

image

Screenshots/Videocasts/Preview Links

Have you?

  • Reviewed your own PR?
  • Tested your own feature/fix meets Acceptance Criteria?
  • Made sure it passes all checks? (lint, build, integrations, scripts, etc)?
  • Added screenshots? (if relevant)
  • Added unit tests? (if necessary)
  • Added documentation? (if necessary)

If so, THANKS! You can pop a beer/soda.

Please open your PR and ping your colleagues to review it on #web-devs channel.

Also, make sure to remind them on a daily basis during stand-up.

Copy link

Org Auth

Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hypnos ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2024 1:36am

@angeloreale angeloreale changed the title [DPCP-2] Org Tenancy Schema [DPCP-2] WIP: Org Tenancy Schema May 12, 2024
Copy link
Collaborator Author

@angeloreale angeloreale left a comment

Choose a reason for hiding this comment

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

LGTM, WIP, but need progress

@angeloreale angeloreale merged commit 65b62e8 into dev May 12, 2024
4 checks passed
@angeloreale angeloreale deleted the ar/auth-relations-and-actions branch August 7, 2024 00:16
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.

1 participant