-
Notifications
You must be signed in to change notification settings - Fork 36
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
ACMS-1984: Moderation dashboard fix for users. #1655
Conversation
// Pattern includes all routes with entity and ends with canonical, the API | ||
// menu will be visible only on node entities to render the jsonapi data. | ||
elseif (preg_match('/^(media\.tasks:)?entity\.(\S*(?<!user))\.canonical$/', $id, $matches)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even i'm not 100% sure on this solution as this looks similar to what we did to exclude users route.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@apathak18 - As per discussion, please try pattern to bypass if its views_view:view.
15eb106
to
754bc18
Compare
dea9505
to
68e9016
Compare
Motivation
Fixes #ACMS-1984
Proposed changes
Excluding view json task for users, as we dont see json data for users since 9.3
Alternatives considered
Testing steps
Follow steps from ticket
Merge requirements