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: create policy for projects #656

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Conversation

anujk14
Copy link
Contributor

@anujk14 anujk14 commented Jun 26, 2024

This PR adds an endpoint to create a policy for a project.

Corresponding Proton PR: raystack/proton#363

Copy link

vercel bot commented Jun 26, 2024

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 27, 2024 11:07am

@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9685581272

Details

  • 13 of 923 (1.41%) changed or added relevant lines in 6 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 9.355%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/server/interceptors/authorization.go 0 4 0.0%
proto/v1beta1/frontier_grpc.pb.go 0 26 0.0%
internal/api/v1beta1/policy.go 12 42 28.57%
proto/v1beta1/frontier.pb.gw.go 0 95 0.0%
proto/v1beta1/frontier.pb.validate.go 0 188 0.0%
proto/v1beta1/frontier.pb.go 1 568 0.18%
Files with Coverage Reduction New Missed Lines %
proto/v1beta1/frontier.pb.go 1 5.73%
Totals Coverage Status
Change from base Build 9639732144: -0.04%
Covered Lines: 9997
Relevant Lines: 106860

💛 - Coveralls

@anujk14 anujk14 merged commit bd92f0b into main Jun 27, 2024
7 checks passed
@anujk14 anujk14 deleted the IDE-406-create-policy-for-projects branch June 27, 2024 11:10
@coveralls
Copy link

coveralls commented Jun 27, 2024

Pull Request Test Coverage Report for Build 9695452068

Details

  • 13 of 927 (1.4%) changed or added relevant lines in 6 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 9.355%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/server/interceptors/authorization.go 0 4 0.0%
proto/v1beta1/frontier_grpc.pb.go 0 26 0.0%
internal/api/v1beta1/policy.go 12 46 26.09%
proto/v1beta1/frontier.pb.gw.go 0 95 0.0%
proto/v1beta1/frontier.pb.validate.go 0 188 0.0%
proto/v1beta1/frontier.pb.go 1 568 0.18%
Files with Coverage Reduction New Missed Lines %
proto/v1beta1/frontier.pb.go 1 5.73%
Totals Coverage Status
Change from base Build 9639732144: -0.04%
Covered Lines: 9997
Relevant Lines: 106864

💛 - Coveralls

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.

3 participants