raystack / frontier

Frontier is an all-in-one user management platform that provides identity, access and billing management to help organizations secure their systems and data. (Open source alternative to Clerk)
https://raystack-frontier.vercel.app/
Apache License 2.0
250 stars 32 forks source link

[Draft][Stale] feat: add principal to project #655

Closed anujk14 closed 3 weeks ago

anujk14 commented 3 weeks ago

This PR adds an API to add principals to a project. The principal could be either a group or a user.

Corresponding Proton PR: https://github.com/raystack/proton/pull/362

Local Testing

  1. When the principal is sent in an incorrect format:

    Screenshot 2024-06-24 at 4 26 58 PM
  2. When a user is added successfully: a) API response

    Screenshot 2024-06-24 at 4 27 13 PM

b) Policy that was created

Screenshot 2024-06-24 at 4 28 43 PM
  1. Same tests were conducted for group, and verified.
vercel[bot] commented 3 weeks ago

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

Name Status Preview Comments Updated (UTC)
frontier ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 0:37am
anujk14 commented 3 weeks ago

Closing as this is no longer needed