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

hooks: add pre-access blocking hook #1077

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Feb 16, 2024

  1. hooks: add AccessInfo in Event and rejectAccess in Response

    to prepare pre-access hook
    sberthier committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    7c2767e View commit details
    Browse the repository at this point in the history
  2. hooks: add pre-access blocking hook

    - on Head/Get/Patch/Delete request
    - use new AccessInfo in HookEvent with AccessMode and FileInfo list
    - use RejectAccess in response to return 403 by default if rejected
    sberthier committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    c9a7ce9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0b520b View commit details
    Browse the repository at this point in the history
  4. kooks: fill AccessInfo in pre-create hook

    when Upload-Concat is used, to check authorization for instance
    sberthier committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    d17a834 View commit details
    Browse the repository at this point in the history
  5. hooks: add pre-access examples

    - add some README.md to guide usage
    - fix grpc example Makefile proto path
    sberthier committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    fb21b4a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9433698 View commit details
    Browse the repository at this point in the history