Brian, thanks for your comments. I have made this more straightforward --
(1) Now it is not changing current behaviour on _check_context() raised glance_store.exceptions.BadStoreConfiguration.
(2) now it raises glance_store.exceptions.Forbidden. We should translate it to HTTPForbidden exception in Glance side (I'm not sure where exactly we should do the translation).
Brian, thanks for your comments. I have made this more straightforward --
(1) Now it is not changing current behaviour on _check_context() raised glance_ store.exception s.BadStoreConfi guration.
(2) now it raises glance_ store.exception s.Forbidden. We should translate it to HTTPForbidden exception in Glance side (I'm not sure where exactly we should do the translation).