Add permissions to database interfaces for improved performance

This commit is contained in:
Daniel
2020-10-13 16:11:39 +02:00
parent eab2ab3413
commit f7d2262790
4 changed files with 16 additions and 5 deletions

View File

@@ -21,7 +21,10 @@ const (
)
var (
profileDB = database.NewInterface(nil)
profileDB = database.NewInterface(&database.Options{
Local: true,
Internal: true,
})
)
func makeScopedID(source, id string) string {