enigma-bbs/docs/filebase/uploads.md
2020-05-14 21:20:27 -06:00

818 B
Raw Blame History

layout title
page Uploads

Uploads

The default ACS for file areas in ENiGMA½ is to allow regular users 'read' and sysops 'read/write'. Read ACS includes listing and downloading while write allows for uploading. See File Base ACS for more information.

To change ACS for a particular area, create an acs block specifying ACS for read and/or write. For example, let's allow regular users (in the "users" group) to upload to an area:

uploads: {
    name: Uploads
    desc: User Uploads
    storageTags: [
        "uploads"
    ]
    acs: {
        write: GM[users]
    }
}

Remember that uploads in a particular area are stored using the first storage tag defined in that area.

Any ACS checks are allowed. See ACS