cedar-policy-cli 4.10.0

CLI interface for the Cedar Policy language.
Documentation
{
    "": {
        "entityTypes": {
            "User": {
                "shape": {
                    "type": "Record",
                    "attributes": {
                        "addr": {
                            "type": "Extension",
                            "name": "ipaddr"
                        }
                    }
                },
                "memberOfTypes": [
                    "UserGroup"
                ]
            },
            "UserGroup": {
                "memberOfTypes": []
            },
            "Photo": {
                "shape": {
                    "type": "Record",
                    "attributes": {
                        "owner": {
                            "type": "Entity",
                            "name": "User"
                        }
                    }
                },
                "memberOfTypes": [
                    "Album"
                ]
            },
            "Album": {
                "memberOfTypes": [
                    "Album"
                ]
            }
        },
        "actions": {
            "view": {
                "appliesTo": {
                    "resourceTypes": [
                        "Photo"
                    ],
                    "principalTypes": [
                        "User"
                    ]
                }
            },
            "edit": {
                "appliesTo": {
                    "resourceTypes": [
                        "Photo"
                    ],
                    "principalTypes": [
                        "User"
                    ]
                }
            }
        }
    }
}