Add spec for Material permission
Implement MaterialAuthorization
Add spec for MaterialDetailView