Project

General

Profile

REST API using a non-administrator account: unable to register

Added by Cyril Hazotte about 10 years ago

Hi,

I tried to use the REST API via the php-redmine-api wrapper and I am not able to register when I log in as a non-administrator. I don't have such problem using my admin account. However, as the API key I use is meant to be public (part of a source code), I can only use the API key of a non-admin account with a very restricted set of permissions.

Such operation should work, as Redmine allows anyone to register from the GUI using the 'Register' link. If not, this is a severe limitation that shouldn't be.
Should I say that REST API operations works only when logged in as a Redmine administrator?

Thank you,
Cyril