Getting Started with the Policy Workflows

First, note that we are in the Policies Tab of the Guardian interface, and we have the role of the Standard Registry since only the Standard Registry can create a new policy.

Second, you click on the blue Create Policy button!

Note : The "tag" field is important to be able to reference this policy in possibly other policies as a dependent policy

Once we have created the Draft of the policy โ€“ notice the status field showing draft โ€“ click on the โ€œEditโ€ link on the right.

The edit screen will open and you will notice two boxes on the right side of the screen. The top Policy box is static and offers the ability to add high-level โ€œPolicy properties.โ€ You can edit the name, Policy Tag, etc. Note that you can also create custom roles that are specific to your policy.

The second Interface ContainerBlock is specific to the first workflow block. We will begin editing this block to build our policy!

Letโ€™s start with โ€œPermissionsโ€

There are currently 3 permissions or roles with permissions configured that can be applied to a policy: 1. Standard Registry with the highest level of permissions, equivalent to an administrator of the policy, 2. User which is the entity applying to receive the Renewable Energy Credits from iRec, 3. Auditor as the entity that can view the โ€œTrust Chainโ€ or all of the important events that led to the creation of the Renewable Energy Credit

But in the Permissions we can choose only: policy roles, any role, no role, owner.

Then we select the โ€œtypeโ€ of UI we want to utilize. In our example, we choose the โ€œBlankโ€ template.

Programmatically you begin like this:

Note: In Guardian Version 1.0.2 there was new functionality implemented that allows for creation of choose Role Block.

Programmatically you begin like this:

Last updated