principalId $owner has a security error?
I think I found a bug, but I'm not 100% sure if it is my mistake ...
according to this line of code https://github.com/strongloop/loopback/blob/master/lib/application.js#L301-L306
I can do something like this: http://localhost:8001/v1/collection/findOne?access_token=mycurrenttoken&filter[where][id]=id-2&id=id-1 or http://localhost:8001/v1/collection?access_token=mycurrenttoken&filter[where][id]=id-2&id=id-1 and get a list That makes the "findOne" validate the id 1 and the "filters" I seek the id 2
the model has this ACL: { "accessType": "*", "principalType": "ROLE", "principalId": "$everyone", "permission": "DENY" }, { "accessType": "EXECUTE", "principalType": "ROLE", "principalId": "$owner", "permission": "ALLOW" }
someone else can reproduce the error??
sorry my english is verry poor
Can you provide a link to a test project on Github? See https://github.com/strongloop/loopback/wiki/Issues#bug-report
@superkhau I'm pretty sure I posted an answer to this - did you delete it?
@fabien No, but I may have closed it? Can you reference your fix to this issue?
@superkhau wish I could find it ... I searched for other issues by @dv3000 to see if I I posted to a duplicate, but apparently this is the only issue sofar.
Ok, well it will show up eventually. I will leave it open for now until its found and referenced properly. TY.
@superkhau found it: https://github.com/strongloop/loopback/issues/238#issuecomment-87349410
@fabien Thanks for finding the reference. I will close it since it is a duplicate of the issue you referenced.
@JoshuaPostel Thanks! Fixed by https://github.com/iterative/dvc/commit/9c2c2b307dc44e5d3b9fc0f306d2f0a79a7b1d11
@JoshuaPostel We will release 0.75.1 soon, but for now you could pip install botocore as a workaround.
@efiop, could you release this one today?
@mroutis yes, will try to do it right now.
Release is building: https://github.com/iterative/dvc/releases/tag/0.75.1 . Pip will be ready in an hour or so, other packages later today/tomorrow.
Thanks a lot, @efiop :slightly_smiling_face: