Skip to content

Support explicit repository permissions model

Created by: unknwon

This issue is for tracking support of explicit repository permissions model, please see RFC 40: Explicit Repository Permissions Model for background and design details.

Implementation Plan

PR: #6427

  • Configuration
    • site.schema.json
    • Site alert for blocking all accesses when both permission models are configured
  • Database migration
    • Migration scripts
    • Update Bitbucket Server Authz Provider to recognize provider column
  • Package permsstore
    • (*store).LoadUserPermissions
    • (*store).LoadRepoPermissions
    • (*store).LoadPendingPermissions
    • (*store).UpsertRepoPermissions
    • (*store).UpsertPendingPermissions
    • (*store).RemoveRepoPermissions
    • (*store).RemovePendingPermissions
    • (*store).SetRepoPermissions
    • (*store).SetPendingPermissions
    • (*store).GrantPendingPermissions
    • Verify the design can be reused by Bitbucket Server Provider #6500
    • Verify the design is good for GraphQL APIs
    • Abstract some blocks to functions
    • Think about locking
    • Tests


Follow up: