Closed (fixed)
Project:
Media Directories
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
17 Mar 2020 at 21:02 UTC
Updated:
12 Apr 2020 at 01:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ytsurkGreat work, once again @rang501!
This shall definitely go in asap.
The patch plays nicely, and the config options do work. It's good to exclude admin_toolbar menu links!
There is stuff inside this patch from the combined_upload, which I removed, also I changed the setting description text.
Comment #3
ytsurkComment #4
ytsurkMaybe the settings could be changed to
Comment #5
ytsurkSo here we go ..
Comment #6
ytsurkMissed the schema ..
Comment #7
rang501 commentedSeems fine. There was a small typo in the schema file, I'll fix it when committing these changes.
Comment #9
rang501 commentedComment #10
ytsurkI was thinking of disabling the menu entries and removing the hook (just to reduce hooks;)). What do you mean? Shall we make a followup?
Comment #11
rang501 commentedYes, followup can be done if you think it would be better, but I think that could be a lower priority because it is more like a code polish :)
Comment #12
ytsurkLet's leave that .. they will be cached ;)
Comment #13
ytsurkHmm - was thinking of removing some of this code again. Files and Media tab can be hidden via permissions ...
And then the admin_toolbar links should consequently also be hidden by role..
But also, this feature doesn't need to be used .. Maybe we should enhance the description of the setting.