README.txt

0. Prolog
1. What it does
2. What it doesn't
3. Discussion

----------------------

0. Prolog

Originally written by:
 Tomas Sanchez Romani (piuga): tsr@piuga.dk

Heavily modified and enhanced by k-fish

This piece of software is copylefted by the GPL
(http://www.fsf.org/licenses/gpl.html)

1. What it does:

- Lets you create files and folders
  - files are stored in the mgw/data_store/ folder of the MGW foldertree.
  - directories are only stored in the database (see discussion below).
  - file and directory information is stored in the MGW-database.
  
- Lets you wiew, modify (directly where possible or by uploading a new
  version) and delete files/directories.
  
- Keeps track of user-rights versus the files/directories created (see
  discussion, a, below)
  
2. What it doesn't:

- Handle errors!

3. Discussion:

a) Permissions 

- It is only the owner (could be changed to also include some admin)
  that can alter the permissions of a file/directory.

- permissiontypes:
  - view: check the contents of file/directory
  - edit: you can alter the name and the content of the file
  - delete: you can delete the file

- permissioners:
  - owner: the one that created the file (or anyone chosen by this person)
  - group(s): the group/groups that the owner was a member of at the
    time of the filecreation
  - all: everyone that is a user at your local mgw-site.
