KoalixSwitzerland / koalixcrm

koalixcrm is an Open Source Python CRM and ERP based on django
www.koalix.org
BSD 3-Clause "New" or "Revised" License
531 stars 218 forks source link

Rest API authentication does not work #285

Closed scaphilo closed 5 years ago

scaphilo commented 5 years ago

This bug affects the apache deployed as well as the the django webserver deployed version of the koalixcrm.

Effect: The user cannot authenticate against the REST API only the login page is shown to the user.

How to fix: In the restinterface.py the permission_class decorator has to be used instead of ConditionalMethodDecorator