Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenfh111minzeverest +7 guests

Allow guests to download

This discussion is related to the FileUpload addon.
If you want guests to be able to download attachments from the File Upload plugin, you can make one small change to the database. I have not had any unwanted side effects with this so far. Here's the SQL to grants guests download permission:

UPDATE `YOUR_DATABASE_NAME_HERE`.`GDN_Permission` SET `Plugins.Attachments.Download.Allow` = '1' WHERE `GDN_Permission`.`PermissionID` =2;

Comments

  • Posts: 4
    Worked as you described after replacing YOUR_DATABASE_NAME_HERE appropriately, thanks!
  • Posts: 1,586
    You can also do this from Dashboard/Roles & Permssions. Edit the permissions for Guest.

    Vanilla co-founder

  • Posts: 63
    @Todd in my install 2.10.18b2 with plugin version 1.4.4 there is no checkboxes to check for plugins!
    I had to edit the database like @chadvonnau said.
    Please implement this feature in the next version. And yes the plugin is awesome!
  • For me to work I had to use the folowing command:

    UPDATE `YOUR_DATABASE_NAME_HERE`.`GDN_Permission` SET `Plugins.Attachments.Download.Allow` = '1' WHERE `GDN_Permission`.`PermissionID` =3;

    It may be because I deleted some roles.

Sign In or Register to comment.