Skip to content

Commit

Permalink
feat: attempt to make usage of resource permissions more clear (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady authored Feb 13, 2024
1 parent 02e4be5 commit d28cbaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions articles/permissions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Permissions System

Permissions are set on a resource-by-resource basis and have to be accepted by the user joining the server
Permissions are set on a resource-by-resource (in `resource.toml`) basis and have to be accepted by the user joining the server

## Permission Types

Expand All @@ -15,7 +15,8 @@ Permissions are set on a resource-by-resource basis and have to be accepted by t

Permissions can be either be optional or required. When they are optional, this will still allow the player to join the server if they don't agree to it however you will no longer have access to the features for which the permission covers. Required permissions behave differently in the fact that if the user does not accept them then they will be unable to access the server.

```
`resource.toml`
```toml
required-permissions = [
"Screen Capture",
"WebRTC",
Expand Down

0 comments on commit d28cbaf

Please sign in to comment.