BusProject / SalsaPress

SalsaPress connects WordPress to Salsa. Developed by the Bus Federation and Bus Project.
http://wordpress.org/extend/plugins/salsa-press/
8 stars 2 forks source link

Should Alert Salsa User If Their Account Does Not Allow for API #25

Closed mojowen closed 9 years ago

mojowen commented 10 years ago

Encountered the following message

screen shot 2014-01-06 at 11 48 03 am

Should warn them on their user account. This is pretty shitty SalsaLabs.

mojowen commented 10 years ago

Salsa is returning the following from /api/authenticate.sjs EVEN if the user does not have API access:

{"jsessionid":"...","status":"success","message":"Successful Login"}

In lieu of making a second request to determine API access I've emailed Salsa about updating the /api/authenticate.sjs endpoint. Hopefully they'll help out...