RolesThatCanUploadAndBrowse

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/17/2010 1:16:45 PM
Nux
Gravatar
Total Posts 183

RolesThatCanUploadAndBrowse

Hey,

I got from a user of my site the remark that the "upload" icon isn't available anymore. So I logged in with my "normal" user and indeed no upload icon.

I remember that this was a config key and is changed to became a site setting. But when I check my site, I see that "authenticated users" got permission to and browse in a user specific folder, like described here.

So, I don't know for sure if this is a bug or perhaps I did something wrong, but can someone check this please?

Thanks
Stef

1/18/2010 6:50:12 AM
Gravatar
Total Posts 18439

Re: RolesThatCanUploadAndBrowse

Hi Stef,

What upload icon? where? Please clarify.

Best,

Joe

1/18/2010 7:03:38 AM
Nux
Gravatar
Total Posts 183

Re: RolesThatCanUploadAndBrowse

Sorry Joe

I mean in the WYSIWYG in the forum reply/new topic.
Before, when this was a config key, you saw the icon for inserting images and than you could upload the images in a user specific folder.
Now I want the same to I have checked that checkbox but nothing happens.

Stef

1/18/2010 7:24:29 AM
Gravatar
Total Posts 18439

Re: RolesThatCanUploadAndBrowse

Hi Stef,

I see, it is a configuration bug in mojoTinyMCE.config file.

Look for ForumWithImagesToolbarRow1Buttons setting and add "image," just before charmap

Then touch Web.config to clear the cache.

Best,

Joe

1/18/2010 8:06:56 AM
Nux
Gravatar
Total Posts 183

Re: RolesThatCanUploadAndBrowse

Joe,

I changed it and it is back :). I tested an upload and it workes.
The ony thing that I saw now is that the user can't delete it's own images. Is that normal?

Thanks Joe
Stef

1/18/2010 8:17:12 AM
Gravatar
Total Posts 18439

Re: RolesThatCanUploadAndBrowse

There is separate permissions for delete in Site Settings, you can add authenticated users but if you do this, then they will also see a link for the new File Manager. Basically anyone with both upload and delete permissions gets to use the File Manager, of course constrained to the folder on which they have permissions.

Best,

Joe

1/18/2010 8:31:17 AM
Nux
Gravatar
Total Posts 183

Re: RolesThatCanUploadAndBrowse

Wouldn't it be better if a user has upload permission in it's own user specific folder, that the user can also delete the files in it's own folder.
Can't you enable the "delete" link near the "crop image" link in the (forum) file browser?

Stef

1/18/2010 8:55:22 AM
Gravatar
Total Posts 18439

Re: RolesThatCanUploadAndBrowse

I will add a Web.config setting that will make it possible to allow deleting from the editor file browser when using a user specific folder, so it is possible to allow this without adding the user to the delete role which would allow the file manager.

The new setting and related comments in Web.config will be:

<!-- if a user is in a role that allows both uploading and deleting then they will have access to the main file manager
    in some cases you may want to allow users who can only upload to user specific folders to delete files from the editor file browser
    without giving them access to the general File Manager, to do that you could set this to true
    -->
    <add key="AllowDeletingFilesFromUserFolderWithoutDeleteRole" value="false" />

So you will be able to override this in user.config to make it true.

Best,

Joe

1/18/2010 9:10:34 AM
Nux
Gravatar
Total Posts 183

Re: RolesThatCanUploadAndBrowse

Thanks Joe, looking forward to the next release :)

Stef

You must sign in to post in the forums. This thread is closed to new posts.