def get_actions(self): actions = logic.limit_api_logic() actions.update((h, getattr(logic, h)) for h in [ 'changed_packages_activity_list_since', ]) actions.update({ k: disabled_anon_action for k in [ 'current_package_list_with_resources', 'revision_list', 'package_revision_list', 'user_list', 'user_activity_list', 'member_list', 'group_revision_list', #'user_show', FIXME: required for password reset 'package_autocomplete', 'format_autocomplete', 'user_autocomplete', 'group_activity_list', 'organization_activity_list', 'group_package_show', 'activity_detail_list', ] }) return actions
def get_actions(self): actions = logic.limit_api_logic() actions.update((h, getattr(logic, h)) for h in [ 'changed_packages_activity_list_since', ]) actions.update({k: disabled_anon_action for k in [ 'current_package_list_with_resources', 'revision_list', 'package_revision_list', 'user_list', 'user_activity_list', 'member_list', 'group_revision_list', #'user_show', FIXME: required for password reset 'package_autocomplete', 'format_autocomplete', 'user_autocomplete', 'group_activity_list', 'organization_activity_list', 'group_package_show', 'activity_detail_list', ]}) return actions
def get_actions(self): actions = logic.limit_api_logic() actions.update((h, getattr(logic, h)) for h in [ 'changed_packages_activity_list_since', ]) return actions