You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
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.
The idea is to append the
path_excludescolumn to thepath_includescolumn under a new column just namedpathsin thesub_repo_permissionstable. Allpath_excludesentries should be prepended with a-to indicate that it is an exclusion.This way, simply iterating over the
pathsshould 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
pathscolumn just has to be updated./cc @sourcegraph/iam