Closed (fixed)
Project:
Storage Entities
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2022 at 12:32 UTC
Updated:
10 Feb 2023 at 16:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
robertom commentedAttached a proposed patch.
P.S. this patch is largely inspired by this issue #3255189: Add "access microcontent overview" permission, overhaul "administer microcontent". Thanks @mstrelan
Comment #3
mxh commentedPlease use regular update hooks instead of post_update functions.
Alternative: Instead of adding the new permissions to users who are allowed to administer storage entities, just additionally allow to access the overview page if the user has either the administer or access overview permission. AFAIK it's possible to define multiple permissions for accessing.
Comment #5
mxh commentedI reviewed this one again and changed my mind about #3. Committed into 1.1.x and will be part of the next 1.2.x release. Thanks!
Comment #6
mxh commented