Skip to content

Commit

Permalink
Update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
carabasdaniel committed Dec 5, 2023
1 parent 1aaa4ee commit d071f04
Show file tree
Hide file tree
Showing 317 changed files with 67,569 additions and 12 deletions.
16 changes: 16 additions & 0 deletions static/assets/templates.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
{
"peoplefinder":{
"title": "Peoplefinder",
"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": "/templates/topaz/acmecorp.json",
"hosted_url": "/templates/hosted/acmecorp.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": "/templates/topaz/citadel.json",
"hosted_url": "/templates/hosted/citadel.json"
},
"simple-rbac": {
"title": "Simple RBAC",
"short_description": "Simple RBAC authorization template",
Expand Down
21 changes: 21 additions & 0 deletions static/assets/templates/hosted/acmecorp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"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/topaz/acmecorp/manifest.yaml",
"policy": {
"name": "peoplefinder",
"resource": "ghcr.io/aserto-policies:policy-peoplefinder-rbac:latest"
},
"idp_data": [
{
"name": "Acmecorp",
"description": "Demo Acmecorp ID",
"provider_id": "6e7bdf74-3b2f-11ec-8d43-0428466d27be"
}
],
"domain_data": [
],
"assertions": []
}
}
21 changes: 21 additions & 0 deletions static/assets/templates/hosted/citadel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"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/topaz/citadel/manifest.yaml",
"policy": {
"name": "peoplefinder",
"resource": "ghcr.io/aserto-policies:policy-peoplefinder-rbac:latest"
},
"idp_data": [
{
"name": "Acmecorp",
"description": "Demo Acmecorp ID",
"provider_id": "6e7bdf74-3b2f-11ec-8d43-0428466d27be"
}
],
"domain_data": [
],
"assertions": []
}
}
2 changes: 1 addition & 1 deletion static/assets/templates/hosted/gdrive.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gdrive",
"description": "Google Drive",
"assets": {
"manifest": "https://raw.githubusercontent.com/aserto-dev/topaz/main/assets/simple-rbac/manifest.yaml",
"manifest": "/assets/templates/topaz/gdrive/manifest.yaml",
"policy": {
"name": "gdrive",
"resource": "ghcr.io/aserto-policies/policy-rebac:latest"
Expand Down
2 changes: 1 addition & 1 deletion static/assets/templates/hosted/simple-rbac.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simple-rbac",
"description": "Simple RBAC",
"assets": {
"manifest": "https://raw.githubusercontent.com/aserto-dev/topaz/main/assets/simple-rbac/manifest.yaml",
"manifest": "/assets/templates/topaz/simple-rbac/manifest.yaml",
"policy": {
"name": "simple-rbac",
"resource": "ghcr.io/aserto-policies/policy-rebac:latest"
Expand Down
18 changes: 18 additions & 0 deletions static/assets/templates/topaz/acmecorp.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/topaz/acmecorp/manifest.yaml",
"policy": {
"name": "peoplefinder",
"resource": "ghcr.io/aserto-policies/policy-peoplefinder-rbac:latest"
},
"idp_data": [
"/assets/templates/topaz/acmecorp/acmecorp_objects.json",
"/assets/templates/topaz/acmecorp/acmecorp_relations.json"
],
"domain_data": [
],
"assertions": []
}
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Loading

0 comments on commit d071f04

Please sign in to comment.