Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mindaugas 6 posts 26 karma points
    Nov 26, 2015 @ 14:56
    Mindaugas
    0

    Image picker validation(file size) for user group.

    Hi!

    I was googling around, but couldn't find any plugins/packages for Umbraco that would allow me to validate file size on image picker for specific user groups. I have one Umbraco website with public company login(any company worker can login and upload some content and media) and this login/user is set to specific user group.

    So maybe you can suggest any package to restricting specific user group to upload bigger than X Mb files?

    I know I could write code to listen to "Publish" or "Save" event and check user group and file size and based on that through exception and prevent user from publishing. But as I might need add more user groups I would need to update code each time which means doing release every time I need to add/remove restriction to specific group of users.

Please Sign in or register to post replies

Write your reply to:

Draft