1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
royalnet/README.md

29 lines
841 B
Markdown
Raw Permalink Normal View History

2020-06-22 01:58:55 +00:00
# `wikipack`
2020-06-21 14:38:25 +00:00
2020-06-22 01:58:55 +00:00
This pack adds a small Wiki to Royalnet, allowing communities to create their own small Wikis.
2020-06-21 14:38:25 +00:00
2020-06-22 01:58:55 +00:00
## Configuration options
```toml
[Packs."wikipack"]
# The roles that are authorized by default to complete certain actions.
2020-06-22 16:08:09 +00:00
# Setting them to * disables the authentication requirement, allowing unauthenticated users that privilege
2020-06-22 01:58:55 +00:00
[Packs."wikipack".roles]
# Users with this role will be able to view wiki pages that do not have a different role set.
2020-06-22 16:08:09 +00:00
view = "*"
2020-06-22 01:58:55 +00:00
# Users with this role will be able to create new wiki pages.
create = "wiki_create"
# Users with this role will be able to edit wiki pages that do not have a different role set.
edit = "wiki_edit"
# Users with this role will be able to delete wiki pages.
delete = "wiki_delete"
# Users with this role will override all other privileges.
admin = "wiki_admin"
```