Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: littlegrasscao/unitycatalog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: sharing/schema
Choose a base ref
...
head repository: littlegrasscao/unitycatalog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: sharing/auth
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 12 files changed
  • 2 contributors

Commits on Nov 17, 2026

  1. Authorize shares and recipients

    Shares and recipients become securable types, with CREATE SHARE, USE
    SHARE, CREATE RECIPIENT and USE RECIPIENT as privileges on the
    metastore. UC grants nothing on a share or recipient itself, so
    validation of grants, the authorization hierarchy and the OPA input
    treat them as roots, and the permissions API refuses them.
    
    The key mapper resolves a share or recipient by name from OpenSharing's
    tables, and answers a missing one with the NOT_FOUND that UC gives for
    any missing object, not OpenSharing's own exception. It reads those
    tables only when asked for such a key, which only OpenSharing's provider
    API, once enabled, produces. The result filter reads the ids of
    OpenSharing's share and recipient responses.
    
    Signed-off-by: Sun Cao <[email protected]>
    
    Read OpenSharing 0.1.1's UUID ids
    
    OpenSharing 0.1.1 keys its entities by UUID, so the OPA input and the
    key mapper look them up directly instead of by their string form, and
    the JSON still carries the string form.
    
    Co-authored-by: Isaac <[email protected]>
    Sun Cao Isaac
    Sun Cao and Isaac committed Nov 17, 2026
    Configuration menu
    Copy the full SHA
    0949eac View commit details
    Browse the repository at this point in the history
Loading