Skip to main content

Grant a permission on a study guide (ASK-211)

POST 

/study-guides/:study_guide_id/grants

Creates a new study_guide_grants row scoped to (study_guide_id, grantee_type, grantee_id, permission). Only the guide's creator may create grants. A duplicate grant returns 409 Conflict. grantee_type is limited to user or course -- study guides cannot grant access to other study guides (the table enforces this via a CHECK constraint).

Request

Responses

Grant created