mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
Fix mention of guest in permission docs. Resolve #3141
This commit is contained in:
parent
0fe07a513f
commit
cd7f34ee14
@ -7,6 +7,7 @@
|
||||
- Fix: More unit tests for scripts (Storsorken)
|
||||
- Docs: Made separate doc pages for Exits, Characters and Rooms. Expanded on how
|
||||
to change the description of an in-game object with templating.
|
||||
- Docs: Fixed a multitude of doc issues.
|
||||
|
||||
## Evennia 1.2.1
|
||||
|
||||
|
||||
@ -55,7 +55,8 @@ Selected permission strings can be organized in a *permission hierarchy* by edit
|
||||
`settings.PERMISSION_HIERARCHY`. Evennia's default permission hierarchy is as follows
|
||||
(in increasing order of power):
|
||||
|
||||
Player # can chat and send tells (default level) (lowest)
|
||||
Guest # temporary account, only used if GUEST_ENABLED=True (lowest)
|
||||
Player # can chat and send tells (default level)
|
||||
Helper # can edit help files
|
||||
Builder # can edit the world
|
||||
Admin # can administrate accounts
|
||||
@ -63,9 +64,9 @@ Selected permission strings can be organized in a *permission hierarchy* by edit
|
||||
|
||||
(Besides being case-insensitive, hierarchical permissions also understand the plural form, so you could use `Developers` and `Developer` interchangeably).
|
||||
|
||||
> There is also a `Guest` level below `Player` that is only active if `settings.GUEST_ENABLED` is set. The Guest is is never part of `settings.PERMISSION_HIERARCHY`.
|
||||
When checking a hierarchical permission (using one of the methods to follow), you will pass checks for your level *and below*. That is, if you have the "Admin" hierarchical permission, you will also pass checks asking for "Builder", "Helper" and so on.
|
||||
|
||||
When checking a hierarchical permission (using one of the methods to follow), you will pass checks for your level and all *below* you. That is, even if the check explicitly checks for "Builder" level access, you will actually pass if you have one of "Builder", "Admin" or "Developer". By contrast, if you check for a non-hierarchical permission, like "Blacksmith" you *must* have exactly that permission to pass.
|
||||
By contrast, if you check for a non-hierarchical permission, like "Blacksmith" you must have *exactly* that permission to pass.
|
||||
|
||||
### Checking permissions
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user