Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 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
Exemplo n.º 4
0
 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