Skip to content

Commit 265d42a

Browse files
committed
docs(policies): adapt to new json schema with "allow" key mandatory
1 parent feb3117 commit 265d42a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

access-policies.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ In this case, everyone can see the **Invoice** items, only logged-in **Users** c
4848
4949
There are 4 possible access types:
5050
51-
| Access | Description | Short version (emoji) |
52-
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
53-
| **public** | Everyone has access | 🌐 |
54-
| **restricted** | Only logged-in users have access to it. If _allow_ key specifies one or several entities, users logged in as other entities will not have access. If _condition_ is set to `self`, it limits access to the item owner. Admins always have access to restricted rules | 🔒 |
55-
| **admin** | Only [admins](./auth.md#admins) have access | 👨🏻‍💻 |
56-
| **forbidden** | No one has access, not even admins | 🚫 |
51+
| Access | Description | Short version (emoji) |
52+
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------- |
53+
| **public** | Everyone has access | 🌐 |
54+
| **restricted** | Only logged-in users have access to it. The _allow_ key must be used to specify one or several [authenticable entities](./auth.md#authenticable-entities) that will have access to the content. If _condition_ is set to `self`, it limits access to the item owner. Admins always have access to restricted rules | 🔒 |
55+
| **admin** | Only [admins](./auth.md#admins) have access | 👨🏻‍💻 |
56+
| **forbidden** | No one has access, not even admins | 🚫 |
5757

5858
### Entity rules
5959

0 commit comments

Comments
 (0)