permissions interceptor bugfix (thanks @awentz)
Merge branch 'master' into noreview