Hey Guys,
I'm working on an app, and in my app I have the user login, which gets an alfresco ticket from the url:
http://localhost:8080/alfresco/service/api/login?u=memedude&pw=ilovememes
The string I receive back from this is:
TICKET_9aa49e5ff12d3cba95d62b4cd21cfc27bda4f1f3
Then when I try to access the upload URL and pass this ticket in like this:
http://localhost:8080/alfresco/service/api/upload?alf_ticket=TICKET_9aa49e5ff12d3cba95d62b4cd21cfc27bda4f1f3
I receive back a 403 forbidden. I've tried doing this the exact same way, except I login with the admin's credentials:
http://localhost:8080/alfresco/service/api/login?u=admin&pw=admin
Works like a charm. I tried going into the Alfresco admin tools page, and I added the user into a group, and set a quota, and looked around. I'm still not able to get the user to pass authentication when I'm uploading the file.
How can I give these users the permissions to upload with the API, and not have to change the webscript to allow guests to download files?
Any tips / help would be appreciated guys,
Thanks!