Give the "view ads" permission to authenticated / anonymous users by default (on hook_install)

Created on 3 July 2025, 3 months ago

Problem/Motivation

I just tested the module as a logged out user and was wondering why my user could not see the ads, but as an admin I could see them!

The issue was, that there is a "view ads" permission, which isn't set to anonymous / authenticated by default! This is really unusual especially for and ads module!

Steps to reproduce

Proposed resolution

Give the "view ads" permission to authenticated / anonymous users by default (on hook_install).

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

11.0

Component

ad module

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024