These are chat archives for allegro/ralph
ralph.lib.permissions.views.view_permission_dispatch.wrapsreturns HttpResponseForbidden because it looks for account.can_view_extra_datacenterassetcomponents
RalphExtraViewMixin.dispatch? metaclass does .dispatch wrapping on
RalphDetailViewand all subclasses
PermissionViewMetaClassshould be used in
RalphExtraViewMixintoo - what do you think? Will this resolve your problem?
RalphDetailView.dispatchis fine, but metaclass wraps any RalphDetailView sublasseses .dispatch as well
RalphExtraViewMixin.dispatchwould work, but you need view list to initialize permissions