cedar-policy 4.10.0

Cedar is a language for defining permissions as policies, which describe who should have access to what.
Documentation
1
2
3
4
5
6
7
8
9
10
11
entity User, Admin, Guest;

entity Document = {
    "title": __cedar::String
};

action read, write, delete appliesTo {
    principal: [User, Admin],
    resource: [Document],
    context: {}
};