-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetArticles blocked by section with tag assigned #220
Comments
I am not able to replicate this issue. can you submit a test case or sample code that can replicate this issue? |
|
I will try to do this with our code as a unit test and see if I can get it to have an issue. so that we can get this fixed. |
Thanks, Elizabeth. |
I created a unit test out lining the example that you have given. some things to know are that based on the api documents. that when using Tags to control access. A user MUST be a member of all the tags listed on a given section. |
Hi, Elizabeth I looked at your test. Instead of fetching the section that you recreate, can you try fetching all articles in the HC with GetArticles instead of GetArticlesAsync and see if you get the articles in the tagged section? That would more closely match my case. Thanks, |
I will try to add a new test case. I will async version as soon I will be removing all synchronous code. Version 4 will be async only |
I am going to close this issue if you find that you are still having issues please report an example |
Where are the specifications for examples or how would one be different than the one I submitted on May 18? I don’t know what more I can provide you. When run against a section with a tag assigned as I described in the example: · CURL works as expected · GetArticles fails to retrieve the articles · GetArticles succeeds if I remove the tag from the section and switch Who can view from Signed-in users to Anyone. Did you test with the option set as above and a tag assigned to a section? From: Elizabeth Schneider [mailto:[email protected]] I am going to close this issue if you find that you are still having issues please report an example — |
If a section has a tag assigned to it and the 'Who can view' option of the section is set to 'Signed-in users' and the API user account also has that tag assigned to it, GetArticles should return all of the articles in the section but it does not. The articles are visible with the same user account when logged in interactively, however, as expected. If I remove the tag from the section, GetArticles returns all of the articles again, as expected. The request should be made using the API account credentials (token) but apparently is missing something. If I was more fluent in C#, I'd dig into it but I'm not, sorry.
The text was updated successfully, but these errors were encountered: