Skip to content

Commit

Permalink
Rename templates
Browse files Browse the repository at this point in the history
  • Loading branch information
carabasdaniel committed Dec 7, 2023
1 parent 424f491 commit f522913
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 4 deletions.
10 changes: 10 additions & 0 deletions assets/hosted/peoplefinder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"idp_data": [
{
"name": "Acmecorp",
"description": "Demo Acmecorp ID",
"provider_id": "6e7bdf74-3b2f-11ec-8d43-0428466d27be",
"ds_load": "/assets/templates/acmecorp/ds-load/acmecorp.json"
}
]
}
10 changes: 10 additions & 0 deletions assets/hosted/todo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"idp_data": [
{
"name": "Citadel",
"description": "Demo Citadel IDP",
"provider_id": "6dd707ac-e7bd-11ec-808a-049ec1ced886",
"ds_load": "/assets/templates/citadel/ds-load/citadel.json"
}
]
}
18 changes: 18 additions & 0 deletions assets/peoplefinder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "peoplefinder",
"description": "A corporate directory application that includes a React front-end and a node.js back-end. It demonstrates three styles of policies - RBAC, ABAC, and ReBAC.",
"assets": {
"manifest": "/assets/templates/acmecorp/manifest.yaml",
"policy": {
"name": "peoplefinder",
"resource": "ghcr.io/aserto-policies/policy-peoplefinder-rbac:latest"
},
"idp_data": [
"/assets/templates/acmecorp/acmecorp_objects.json",
"/assets/templates/acmecorp/acmecorp_relations.json"
],
"domain_data": [
],
"assertions": []
}
}
8 changes: 4 additions & 4 deletions assets/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"short_description": "Corporate directory end-to-end sample",
"description": "A corporate directory application that includes a React front-end and a node.js back-end. It demonstrates three styles of policies - RBAC, ABAC, and ReBAC.",
"docs_url": "https://docs.aserto.com/docs/getting-started/peoplefinder/peoplefinder-overview",
"topaz_url": "/acmecorp.json",
"hosted_url": "/hosted/acmecorp.json"
"topaz_url": "/peoplefinder.json",
"hosted_url": "/hosted/peoplefinder.json"
},
"todo":{
"title": "Todo",
"short_description": "Todo application end-to-end sample",
"description": "A simple Todo application with a back-end implementation in every language, and an interactive tutorial for the policy language. Provides a head start for learning how to integrate Aserto into your own app.",
"docs_url": "https://docs.aserto.com/docs/quickstarts/todo/overview",
"topaz_url": "/citadel.json",
"hosted_url": "/hosted/citadel.json"
"topaz_url": "/todo.json",
"hosted_url": "/hosted/todo.json"
},
"simple-rbac": {
"title": "Simple RBAC",
Expand Down
18 changes: 18 additions & 0 deletions assets/todo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "todo",
"description": "A simple Todo application with a back-end implementation in every language, and an interactive tutorial for the policy language. Provides a head start for learning how to integrate Aserto into your own app.",
"assets": {
"manifest": "/assets/templates/citadel/manifest.yaml",
"policy": {
"name": "todo",
"resource": "ghcr.io/aserto-policies/policy-todo:latest"
},
"idp_data": [
"/assets/templates/citadel/citadel_objects.json",
"/assets/templates/citadel/citadel_relations.json"
],
"domain_data": [
],
"assertions": []
}
}

0 comments on commit f522913

Please sign in to comment.