Forums / Cotonti / Development / PFS Question

GHengeveld
#23685 2010-03-21 01:10
Sharing files between users is a very good idea and something I had in mind to implement in PFS v2. Personally I'm not a big fan of setting rights per file, for a couple of reasons. Firstly, rights-per-file will unnecessarily bloat the DB and decrease usability (too much options can be a bad thing). Secondly, I think putting files in the root is a bad practice, so setting rights per folder will encourage the usage of folders.

In general, rights per folder is sufficient and will ensure compatibility with older versions of Cotonti.

Optionally, you could support true RWA rights on folders, for more flexibility. I recommend using the existing Cotonti rights system for this.

For a project management site I've developed a public file browser which shows all user's public files, as well as all files in the root for each user: http://hro.ghengeveld.nl/prj78/www/bestanden