We have a wierd problem using the webservices where if we assign company level permissions to a user then they lose access when calling the webservices. It is as though they are sudenly not authorised.
Let me give you an example.
User = BLOGGSJ
Companies in the database - Company A, Company B and Company C.
We have a website calling the webservices. In the web.config we store the company being used by our site. The webservice references are built according to this setting in the web.config in the data access layer of our website. Let us say in this example the web.config is set to "Company A".
If BLOGGSJ is setup with (for example) roles with NO company level permissions on them then they can call the webservices fine without any problem.
So if they were (examples, not actual roles!)...
Then they can call the webservices fine.
If however they are
ALL Company A
POST G-L Company A
READ CUSTOMER Company A
ALL Company B
POST G-L Company B
READ CUSTOMER Company B
Now the webservices stop working... even though they have access to "Company A".
Has anyone else come across this problem. It is as if as soon as we assign a company level permission to the user they do not have permissions to call the web services. Is this because the Web Service publishing is not company specific?
Look forward to responses.