The Sourcegraph Podcast cover image

Making security more accessible for developers, with Sam Scott, co-founder and CTO of Oso

The Sourcegraph Podcast

00:00

Oso to Authorize a Repository

This is our control and method to fecush a single repository. We'll fetch that repository from the data base using type or m a mbesilegus call thes oso to authorize method. It takes in the user from the request object. I authorized if the user can read the repository. Am, and that's it. That's like the one method we needa. If this fails, ss, can return. O, throw an arrow, which can be handled by arrow handles, things like that. And iassume it like throws in error. So re ther's a kindof cause you want to avoid conditional errors. On one hand, itis just a bit

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app