-
Notifications
You must be signed in to change notification settings - Fork 46
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
API Consumers (Authenticated Users) are getting incorrect Teams(Companies) #408
Comments
Isn't it caused by the the "API consumer" role has "View any Teams" permission? Without granting this permission I could not reproduce this issue, which means, works as designed. There is no "View own Teams" permission because the owner/author/created information is not stored on Apigee for teams/companies. |
Hi Dezső BICZÓ mxr576,
|
Hi I also faced the same issue and found a workaround by disabling dynamic cache |
Thanks @varuntit101 for sharing the workaround. @Dhaneshmonds Can you try disabling dynamic cache and let us know if that works and if it a acceptable workaround ? |
@arunz6161 I have mentioned the same in my previous comment. After disabling the dynamic cache, working as expected. I believe this is a temporary fix, after disabled dynamic cache; a couple of other functionalities got affected. |
thanks @Dhaneshmonds - we will prioritize this soon |
I've posted a PR that could fix this: #419 |
* [#408] Fix team lists cache errors. * [#408] Fix team lists cache errors - updated cache tags. * [#408] Fix team lists cache errors - updates and test. * [#408] Fix team lists cache errors - updates and test. * [#408] Fix team lists cache errors - fixing phpcs. * [#408] Fix tests. * [#408] Fix tests.
Incorrect Teams(List of Teams which user does not belong to) are displaying for API Consumers(Authenticated Users) on Team(Company) List
Steps to reproduce the behavior:
To Reproduce
To reproduce the issue, we need two users.
Let's Consider ConsumerOne and ConsumerTwo as two API Consumers(Authenticated user) in the portal.
API Consumers have permission to create teams on the portal.
When ConsumerOne created a new team; the team list for the user ConsumerOne can see valid teams (list of the teams which belong to ConsumerOne). But other API Consumers are getting the same list of ConsumerOne. For Other API Consumers(including ConsumerTwo), those are invalid teams(Companies).
Notes:
Expected behavior
API Consumers(Authenticated users) should get relevant teams which he/she created or he/she belongs to.
Version Info
Drupal : 8.7.12
Apigee Edge : 8.x-1.8
The text was updated successfully, but these errors were encountered: