Ticket #199 (closed New Feature: fixed)

Opened 8 years ago

Last modified 7 years ago

Ability to turn on and off the ability to upload files

Reported by: michialt@… Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: File Browser Version:
Keywords: Cc:

Description

From what I have seen in the documentation, I cannot seem to find a way to prevent a user from being able to upload a file gracefully.

What I would like to be able to do is set a flag or property @ runtime that would allow me to not only decide where the user is uploading their files to, but also if the ability is even offered to them.

Change History

comment:1 Changed 8 years ago by fredck

  • Keywords Pending added

Are you talking about the File Browser or the Upload tab in the link and image dialogs?

comment:2 Changed 8 years ago by michialt@…

I would probably lean towards both. Maybe independently though.

I have two different scenarios I am working with where FCKeditor is used. One is a blogging package (SubText) which I have setup to allow the general public to create their own blogs. On this one I would like to turn OFF the ability upload anything. And in this case it would be cleanest not even to allow them to browse the server because they would see nothing anyway.

In case number 2, I am using FCKeditor to allow a different group of users to add/modify content for web sites that I host. In that case I could see the need for some users of that site to be allowed to modify content, and able to link to already uploaded pictures, but not allow uploads. And other users to be allowed to upload as well.

In the second case though, upload/browse on/off would be just fine, but independently would would offer a little more flexibility.

comment:3 Changed 7 years ago by fredck

  • Keywords Pending removed
  • Component changed from General to File Browser

Much of this can already be achieved with the following settings at fckconfig.js:

FCKConfig.LinkBrowser = false ;
FCKConfig.ImageBrowser = false ;
FCKConfig.FlashBrowser = false ;
FCKConfig.LinkUpload = false ;
FCKConfig.ImageUpload = false ;
FCKConfig.FlashUpload = false ;

Remains open the option to configure it in the File Browser.

comment:4 Changed 7 years ago by alfonsoml

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to FCKeditor 2.5

Fixed on trunk with [413]

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy