restservice5
You need quotes around SuperSpar
Aaagh, I tried it but must have had the double quotes on the inside of the single quotes or something. Thank you. thank you. I have been battling with this over stupid syntax issue. Thats what happens when you copy code straight from incorrect posts I guess.
Can I use this same method for the acl column. I a post you provided
I have used this...
var acl = {};
acl[value]= { "read": true, "write": true };
return acl;
but it does not seem to work.
I have noticed that the values in the acl column of the database are enclosed in quotes. Could that be a reason.
I used a list service for this.
Please show us several screen shots with data/mapping.
Hello!
1) You added request parameter "acl", but it doesn't affect service. If you need to make a search request in column use Query service.
2) You use "acl" field to restrict user access to data. It means when you retrieve data through service permissions from "acl" field will be taken into account. So if current logged user isn't set in "acl" field of some record, servise hides this record. If REST service returns emty list then current user doesn't have necessary permission.
I want to restict user access. On login I set storage variable id with _id from user table.
I want to show all records for logged on user. No filter.