Closed (fixed)
Project:
Advertisement
Version:
11.x-dev
Component:
ad module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2026 at 17:37 UTC
Updated:
15 Apr 2026 at 11:00 UTC
Jump to comment: Most recent
Comments
Comment #2
anybodyImplemented this blindly, please try and please add a simple test on the path
admin/structure/ad-contentto be only accessible with this permissionComment #5
lrwebks commentedLGTM and works in both tests and manual testing. PHPUnit failure is unrelated, so I'd say after my changes are reviewed, this is ready to merge!
Comment #6
anybodyCode LGTM but test doesn't LGTM. Regular users ALSO should not be able to administer ad types, but we need three types of users here:
Comment #7
lrwebks commentedComment #8
anybodyPerfect, please add the further permission tests to be safe as discussed.
Comment #9
lrwebks commentedComment #10
lrwebks commentedWhile currently creating the general permission tests, I noticed that we have a similar problematic situation with the
administer adspermission also allowing access to manage the ad placements. I will add a special permission for administering them too.Comment #11
anybodyPerfect!
Comment #12
lrwebks commentedComment #14
anybodyComment #15
anybody