Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Perforce: Create database migrations #41781

@pjlast

Description

@pjlast

The idea is to append the path_excludes column to the path_includes column under a new column just named paths in the sub_repo_permissions table. All path_excludes entries should be prepended with a - to indicate that it is an exclusion.

This way, simply iterating over the paths should yield the same behaviour as our current implementation, with excludes taking preference over includes.

This allows for a smooth transition into the simplified rules matching where the paths column just has to be updated.

/cc @sourcegraph/iam

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions