phildini / django-sandstorm

Django Package for doing authentication with sandstorm.io
MIT License
7 stars 2 forks source link

Support `X-Sandstorm-Permissions` header #3

Open phildini opened 8 years ago

phildini commented 8 years ago

As soon as I figure out a reasonable approach to take, I'll add support for this.

Right now: force app developers to specify an 'admin' permission, and set is_staff=True if the middleware detects it?

@paulproteus, thoughts again?

paulproteus commented 8 years ago

I think that is good.