BuddyDev

Search

[Resolved] Mediapress Feature Request: Restrict storage space by user role

  • Participant
    Level: Enlightened
    Posts: 48
    Stephanie on #53026

    Hello,

    I would like to request a feature that allows us to restrict the storage space of users for their media, according to their WordPress user role. For example, Authors can store 10mb but Editors can’t store anything and Admins can have unlimited storage.

    Last month, when I had WordPress 6.5.4, I used a third party plugin called “Role Based storage Limit” to limit the amount of storage a user role had to upload media to their Mediapress gallery, and it worked fine, or at least seemed to. Since WordPress 6.5.5 (and now, 6.6.1), it seems “Role Based storage Limit” and Mediapress have a conflict and I can only set a global storage limit.

    I would also like to point out that in the Mediapress settings, if I remove the storage quota (by default it is 5mb pr user and 10mb per group) so that the quota is blank (I was hoping that by removing this limit, Mediapress would not enforce a limit and I can use Role Based storage Limit to enforce the limit instead), it causes an error on the front end, so it seems the quota cannot be left blank. Otherwise, I was thinking, an easy way to do this would stop Mediapress enforcing the storage limit and use a third party plugin to enforce it, removing the conflict issue between the two plugins and removing the complicated process of adding extra functionalities to Mediapress.

    Thank you
    Stephanie

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #53031

    Hello Stephanie,

    Thank you for posting. We have created a plugin with the name ‘MediaPress Flexible storage limit’ for such purpose. Please have a look here:

    https://buddydev.com/plugins/mpp-flexible-storage-limit/

    Please let me know if you need further assistance.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 48
    Stephanie on #53033

    Hi Ravi,

    Thanks for bringing it to my attention, I did not know about it. I’ve marked this thread as resolved.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #53035

    Hello Stephanie,

    Thank you for marking the issue as resolved.

    Regards
    Ravi

The topic ‘ [Resolved] Mediapress Feature Request: Restrict storage space by user role’ is closed to new replies.

This topic is: resolved