MCPcopy Create free account
hub / github.com/codingforentrepreneurs/REST-API-Basics / IsOwnerOrReadOnly

Class IsOwnerOrReadOnly

src/postings/api/permissions.py:3–16  ·  view source on GitHub ↗

Object-level permission to only allow owners of an object to edit it. Assumes the model instance has an `owner` attribute.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected