Opened 5 years ago
Closed 5 years ago
#4474 closed defect (bug) (fixed)
Glossary items: Do not show 'Edit Entry' if user has no access
Reported by: | casiepa | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
Use Case: I'm logged in with my account on https://make.wordpress.org/polyglots, I'm checking the post https://make.wordpress.org/polyglots/2018/09/26/pte-request-for-repeat-order-for-woocommerce/ and I see certain underlined glossary words.
When I hover over e.g. 'localization' I see the 'Edit Entry' and I end up correctly on https://make.wordpress.org/polyglots/wp-admin/post.php?post=6152&action=edit to edit.
However, when hovering over 'meetup', I also see 'Edit Entry', but link is the one of the post itself because the 'meetup' words is defined in a glossary where I don't have access to.
Change requested: Only show 'Edit Entry' when the logged in user really has access to edit the relevant glossary item.
https://plugins.trac.wordpress.org/changeset/2095613