#data-model #data-access #capability #system #willow #capabilities #read-write

meadowcap

A capability system for controlling access to Willow data

1 unstable release

0.1.0 Aug 10, 2024

#387 in Authentication

MIT/Apache and CC-PDDC licenses

76KB
1.5K SLoC

Meadowcap

An implementation of Meadowcap, a capability system for permissioning read and write access to the Willow data model.

Includes implementations of communal capabilities, owned capabilities, a type unifying the two, as well as the generation of McAuthorisationTokens for use with the Willow data model's is_authorised_write parameter.

Type parameters

Willow is a parametrised family of protocols, and so this crate makes heavy use of generic parameters.

The following generic parameter names are used consistently across this crate:

Dependencies

~1–1.5MB
~30K SLoC