<s> from corehq import privileges <EOL> from corehq . apps . accounting . decorators import requires_privilege_with_fallback <EOL> from corehq . apps . reports . dispatcher import ProjectReportDispatcher <EOL> from django . utils . decorators import method_decorator <EOL> from corehq . apps . users . decorators import require_permission <EOL> from corehq . apps . users . models import Permissions <EOL> require_can_edit_fixtures = lambda * args , ** kwargs : ( <EOL> require_permission ( Permissions . edit_data ) ( <EOL> requires_privilege_with_fallback ( privileges . LOOKUP_TABLES ) ( * args , ** kwargs ) <EOL> ) <EOL> ) <EOL> class FixtureInterfaceDispatcher ( ProjectReportDispatcher ) : <EOL> prefix = '<STR_LIT>' <EOL> map_name = '<STR_LIT>' <EOL> @ method_decorator ( require_can_edit_fixtures ) <EOL> def dispatch ( self , request , * args , ** kwargs ) : <EOL> return super ( FixtureInterfaceDispatcher , self ) . dispatch ( request , * args , ** kwargs ) </s>
