Closed onairmarc closed 9 months ago
@awcodes Would you mind taking a look at this, please?
I will when I get a chance. Pretty busy at the moment with work.
Please remove all formatting changes that are not part of the feature for the PR.
Thanks.
Ope! Sorry about that! I forgot my IDE was setup to do that. I'll do that this evening.
@awcodes I believe I've reverted all the formatting changes. Please let me know if I missed anything and I'll happily correct them. Thanks!
This is so much better. 😁 I'll merge it tomorrow or Saturday. Thank you.
Thank you!!
Thanks. 🦒
This PR adds
tabs.display_curation
andtabs.display_upload_new
to thecurator
config file with a default value oftrue
.Setting
tabs.display_curation
tofalse
will hide the "Curation" tab on the Edit Media screen. This is useful for using Curator as a simple media library, but don't want to surface image manipulation features to your users. You could also use a class method to returntrue
orfalse
depending on the user's permissions.Setting
tabs.display_upload_new
tofalse
will hide the "Upload New" tab on the Edit Media screen. This is useful when you wish for users to not be able to override media files but upload new ones instead.