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

32 lines
868 B
Markdown
Raw Permalink Normal View History

---
layout: page
title: ACS
---
2018-11-18 01:56:36 +00:00
## File Base ACS
2020-11-22 20:53:47 +00:00
[ACS Codes](../configuration/acs.md) may be used to control access to File Base areas by specifying an `acs` string in a file area's definition. If no `acs` is supplied in a file area definition, the following defaults apply to an area:
2018-11-28 06:22:09 +00:00
* `read` : `GM[users]`: List/view the area and it's contents.
* `write` : `GM[sysops]`: Upload.
* `download` : `GM[users]`: Download.
To override read and/or write ACS, supply a valid `acs` member.
## Example File Area Config with ACS
```hjson
areas: {
retro_pc: {
name: Retro PC
desc: Oldschool PC/DOS
storageTags: [ "retro_pc", "retro_pc_bbs" ]
acs: {
2018-11-28 06:22:09 +00:00
// only users of the "l33t" group or those who have
// uploaded 10+ files can download from here...
download: GM[l33t]|UP10
}
}
}
2018-11-28 06:22:09 +00:00
```
## See Also
2020-11-22 20:53:47 +00:00
[Access Condition System (ACS)](../configuration/acs.md)