37 lines
905 B
Plaintext
37 lines
905 B
Plaintext
---
|
|
title: Access Control
|
|
label: Overview
|
|
order: 10
|
|
---
|
|
|
|
Access can be configured at a Collection-level or field-level within your Collection configuration.
|
|
|
|
Access control functions return a boolean result in most cases. Certain functions also support returning a [where constraint object](/docs/queries/overview)
|
|
|
|
**Default access control requires a logged in user to do anything.**
|
|
|
|
Local API skips access control by default, but can be enabled if you pass a user to the operation.
|
|
|
|
## Access Control Types
|
|
|
|
- [Collections](/docs/access-control/collections)
|
|
- [Fields](/docs/access-control/fields)
|
|
- [Globals](/docs/access-control/globals)
|
|
|
|
### Collections
|
|
|
|
Talk about collection-level access control here.
|
|
|
|
|
|
### Globals
|
|
|
|
Talk about global access control here.
|
|
|
|
### Fields
|
|
|
|
Talk about field-level access control here.
|
|
|
|
### Admin
|
|
|
|
Talk about how to restrict collections' access to the Admin panel here.
|