Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a TOC to access control docs #162

Merged
merged 1 commit into from
Jul 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/access-control.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Access Control

> Control who can do what with your GraphQL API

## Table of Contents

<!-- Generated with `npx markdown-toc docs/access-control.md --no-firsth1` -->
- [Intro](#intro)
- [Admin UI authentication](#admin-ui-authentication)
- [GraphQL access control](#graphql-access-control)
* [List level access control](#list-level-access-control)
+ [`access` API](#access-api)
- [Booleans](#booleans)
* [Shorthand static Boolean](#shorthand-static-boolean)
* [Granular static Booleans](#granular-static-booleans)
* [Shorthand Imperative Boolean](#shorthand-imperative-boolean)
* [Granular functions returning Boolean](#granular-functions-returning-boolean)
- [`GraphQLWhere`s](#graphqlwheres)
* [Granular static `GraphQLWhere`s](#granular-static-graphqlwheres)
* [Granular functions returning `GraphQLWhere`](#granular-functions-returning-graphqlwhere)
* [Field level access control](#field-level-access-control)
+ [`access` API](#access-api-1)
- [Shorthand static Boolean](#shorthand-static-boolean-1)
- [Granular static Booleans](#granular-static-booleans-1)
- [Shorthand Imperative Boolean](#shorthand-imperative-boolean-1)
- [Granular functions returning Boolean](#granular-functions-returning-boolean-1)

## Intro

There are 2 ways of effecting the available actions of a user in Keystone:

1. Admin UI authentication
Expand Down