Problem/Motivation
After update to 1.2.1, "edit cookie information" links are rendered on the cookies information page, even if user is not logged in.
Clicking on the links results in "access denied" as expected.
See attached screenshot (site in French)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | PixelSnap 2022-12-14 at 16.42.24.png | 140.94 KB | quimic |
Issue fork cookies-3327196
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybody@quimic thanks for the report! Could you post a screenshot to be sure we're talking about the same?
@Grevil could you please have a look and add a test?
Comment #3
quimicComment #4
anybodyThank you very much @quimic - we'll fix that, so that only users with the permission to edit the cookie information can see that link.
Comment #5
quimicThank you @anybody!
Comment #8
anybody@Grevil let's remove the link entirely. If easily possible, add a contextual link instead.
Comment #9
grevil commentedI tried implementing a contextual link, but can't seem to properly implement it. See #3328025: Add a contextual link to both cookies entities and cookies groups on the cookies documentation page.
So for now I am going to simply remove the link and adjust some form descriptions here and there.
Comment #10
anybodyThanks @Grevil: For the form descriptions assume the contextual link to be working. I'll pick that one up.
Ping me for review once you removed the code here.
Comment #11
anybodyThanks @Grevil! Merging this incl. the unrelated text fixes!
Comment #13
anybodyWill be part of 1.2.2! :)