Terms
Terms and there definitions as it relates to scopie.
Block
Values between slashes that indicate levels of our scope. Can contain one of the following:
- A literal string.
- An array of literal strings separated by pipe (
|
) characters that are treated as an OR list. - A literal string prefixed by an at (
@
) that is translated to a value from our variable map. - A single asterisk (
*
) that will auto match any value, known as a wildcard. - Two asterisks (
**
) that matches the rest of the rule.
Scope
One or more blocks, joined by a slash (/
).
Permisson
Whether or not we are allowed to do the action.
Either the literal string allow
or deny
.
Rule
Permission and literal string separated by slashes (/
).
Only literal values are allowed in rules.
Keywords
They may not be explicity checked but it is important not to use any scopie keywords when defining scopes and rules as they may have unintended side effects.
- allow
- deny