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
12
13
14
15
16
17
namespace App1 {
    entity User;
    action view appliesTo {
        principal: [User],
        resource: [User],
        context: {}
    };
}

namespace App2 {
    entity Document;
    action edit appliesTo {
        principal: [App1::User],
        resource: [Document],
        context: {}
    };
}