"Cookie settings" menu shown even when useless

Created on 12 October 2022, almost 3 years ago
Updated 11 August 2025, 14 days ago

Problem/Motivation

In #2985390: [1.x] Option to place Withdraw Button anywhere on site (e.g. in block) a new menu item was shown on the tools menu named "Cookie settings". It's always shown, even in some cases where it does nothing or isn't appropriate:
- the withdraw_enabled setting is false
- the current user is an admin and exclude_uid_1 is set
- the current user permissions are not to show the banner

Steps to reproduce

- Set withdraw_enabled setting to false
- Visit any page where the tools menu is visible

Proposed resolution

Hide the menu (#access = false) when it doesn't make sense.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom adamps

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand atowl

    Hi @adamps,

    Is this still an issue? There has been no reply for a while.

  • 🇬🇧United Kingdom adamps

    Is this still an issue?

    Thanks for checking. I no longer use this module, so please feel free to close the issue.

  • 🇳🇿New Zealand atowl

    Thanks @adamps for the update

    Closing this as won't fix, as i don't think there's anything work here to do presently.

Production build 0.71.5 2024