Skip to content

flesh out authz policy#405

Merged
davepacheco merged 15 commits into
mainfrom
authz-prototyping
Nov 22, 2021
Merged

flesh out authz policy#405
davepacheco merged 15 commits into
mainfrom
authz-prototyping

Conversation

@davepacheco

@davepacheco davepacheco commented Nov 19, 2021

Copy link
Copy Markdown
Collaborator

This change:

  • fleshes out the authz policy with something I hope will be sufficient for the MVP (though even if not, I think it's a good next step)
  • protects GET /organizations with authz
  • protects DELETE /organizations/$org/projects/$project/disks/$disk. I did this one because it exercises the project-level authz in the policy.

The next step will be to protect more endpoints using this policy. As it is, the policy file is largely not used, but I thought it was better to do this as a smaller change and then protect more endpoints in follow-on changes.

I'm happy to do a code walk-style review if that's helpful.

Some of this is a little janky right now but I hope we can clean it up as we iterate on more endpoints.

@davepacheco davepacheco changed the title flesh out authz policy and protect GET /organizations flesh out authz policy Nov 19, 2021
@davepacheco

Copy link
Copy Markdown
Collaborator Author

For anybody interested: I'll do an interactive review / walk-through on Monday 11/22 at 10am PT. Let me know and I'll add you to the invite. We'll also record it.

@davepacheco davepacheco marked this pull request as ready for review November 22, 2021 22:56
@davepacheco davepacheco merged commit 6a58d58 into main Nov 22, 2021
@davepacheco davepacheco deleted the authz-prototyping branch November 22, 2021 23:47
@davepacheco davepacheco mentioned this pull request Nov 23, 2021
71 tasks
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