Opened 18 years ago

Closed 17 years ago

#199 closed New Feature (fixed)

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 (4)

comment:1 Changed 18 years ago by Frederico Caldeira Knabben

Keywords: Pending added

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

comment:2 Changed 18 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 18 years ago by Frederico Caldeira Knabben

Component: GeneralFile Browser
Keywords: Pending removed

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 17 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

Fixed on trunk with [413]

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy