Open brnogz opened 6 years ago
When a route with parameters or a static url which include more than 1 segment added to admin menu, policy fails to check permission because slug fetched wrong (like pages1edit instead of pages)
We don't recommend providing links to edit pages, since those rely on IDs that could change.
However, I understand how this could be counter-intuitive, so we're open to PRs to fix it.
Version information
Description
When a route with parameters or a static url which include more than 1 segment added to admin menu, policy fails to check permission because slug fetched wrong (like pages1edit instead of pages)