Documentation

Cedar.Spec.Policy

This file defines abstract syntax for Cedar policies.

Instances For
    Instances For
      Instances For
        Instances For

          This definition of the ActionScope is more liberal than what is allowed by Cedar's concrete grammar. In particular, the concrete grammar doesn't allow is constraints in action scopes (e.g., action is ety), while our abstract grammar does. Restricting action scopes in this way is not necessary for proving any properties of Cedar; it is done in the concrete grammar for usability (since is constraints on actions can be expressed using groups instead). We're choosing the more liberal modeling here for uniformity and simplicity.

          Instances For
            @[reducible, inline]
            Equations
            Instances For
              Instances For
                Instances For
                  @[reducible, inline]
                  Equations
                  Instances For
                    Instances For
                      @[reducible, inline]
                      Equations
                      Instances For
                        Equations
                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            The trivial allow-all policy

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  Equations
                                  Instances For
                                    Equations
                                    Instances For
                                      def Cedar.Spec.instDecidableEqScope.decEq (x✝ x✝¹ : Scope) :
                                      Decidable (x✝ = x✝¹)
                                      Equations
                                      Instances For
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                def Cedar.Spec.instDecidableEqPolicy.decEq (x✝ x✝¹ : Policy) :
                                                Decidable (x✝ = x✝¹)
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  Equations
                                                  Instances For