enigma-bbs/docs/_docs/filebase/uploads.md

704 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.

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