Skip to main content
AccessMode defines the type of access granted to a path. It’s used with CapabilitySet.allow_path() and CapabilitySet.allow_file().

Values

Usage

Basic Usage

With Query Context

Access Level Hierarchy

READ_WRITE is the highest access level and covers both READ and WRITE:

String Representation

Comparison and Hashing

AccessMode values are hashable and can be used as dictionary keys or in sets: