permissions resolution now works for repos.