Pure-SQL authz approach
Created by: unknwon
Based on the effort of #11457, attempt to completely remove authzFilter
function and store all permissions facts in Postgres tables.
See https://github.com/sourcegraph/sourcegraph/issues/11400#issuecomment-650838104 for problems to address.