Articles in this section

Policy Designer - Schema Management

Published:

The schema management tool helps to create, update, delete, and view schemas. Click the Manage button in the Store List; it will take you to the store management page.
Once you create a store, Agama Lab creates one default schema for you, which you can easily modify in the schema section.

policy-schema-section.png

Manage Namespace

Click on the Manage Namespace button, and you will get the following options:

policy_manage_namespace.png

Add namespace

Select + Add New Namespace option from Manage Namespace to add a new namespace.
It will open a dialog box for you to enter the new namespace name.
Just enter a custom name and click on save to create a new store.

policy_namespace_creation.png

Rename namespace

Select Rename Namespace option from Manage Namespace to rename the namespace. In the rename dialog box, select the namespace and enter a new name to replace the existing name.

policy-rename-namespace.png

Delete namespace

Select Delete Namespace option from Manage Namespace to delete the namespace.
In the delete dialog box, select the namespace to delete it.

Import Namespace

If you already have the Cedar JSON schema, you can easily import it and save it in the policy store. Click on the Import Schema button and select the file.

View Schema

Use this feature to view your schema in JSON and text format.

policy-view-schema.png

Example of schema JSON view:

policy-example-of-schema-JSON-view.png

Example of schema Text view:

example-of-schema-text-view.png

Update and Delete Schema Elements

There are options in the UI where you can easily view, update, and delete schema elements like Common Types, Entities, and Actions.

policy-update-and-delete-schema-elements.png

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied