payload-rbac-plugin 1.0.2 → 1.0.3-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,6 +103,8 @@ export default buildConfig({
|
|
|
103
103
|
| `permissionsFields` | `Field[]` | `[]` | Extra custom fields to inject into the Permissions collection. |
|
|
104
104
|
| `hideRoles` | `boolean \| ((args: { user: any }) => boolean)` | `false` | Hide the Roles collection from the sidebar navigation. |
|
|
105
105
|
| `hidePermissions` | `boolean \| ((args: { user: any }) => boolean)` | `false` | Hide the Permissions collection from the sidebar navigation. |
|
|
106
|
+
| `permissionsAccess` | `CollectionConfig['access']` | `{ ... }` | Access control functions for the generated Permissions collection (defaults to public). |
|
|
107
|
+
| `rolesAccess` | `CollectionConfig['access']` | `{ ... }` | Access control functions for the generated Roles collection (defaults to public). |
|
|
106
108
|
|
|
107
109
|
---
|
|
108
110
|
|