Commit 47cab492 authored by Daniele Venzano's avatar Daniele Venzano

Update documentation regarding ZApp access filtering in the zapp shop

parent 4f7dba4c
......@@ -6,8 +6,7 @@
"readable_descr": "README-datascience.md",
"name": "Data science notebook",
"description": "pydatasci.json",
"parameters": [],
"guest_access": true
"parameters": []
},
{
"category": "Data science",
......@@ -23,8 +22,7 @@
"type": "string",
"default": "all"
}
],
"guest_access": false
]
}
]
}
......
......@@ -180,7 +180,7 @@ The ``manifest.json`` file gather all this information together for the ZApp Sho
"default": "./my-tf-app/main.py"
}
],
"guest_access": true
"disabled_for": ["role_A"]
}
]
}
......@@ -195,7 +195,7 @@ For each ZApp:
* description : the name of the json file with the Zoe description
* readable_descr : the name of the markdown file containing user documentation for the ZApp
* parameters : a list of parameters the user can set to tune the ZApp before starting it
* guest_access (optional) : if true the ZApp is visible to guest users, default is false
* disabled_for (optional) : list of roles that will not see this ZApp in the app shop
Parameters:
......
......@@ -65,10 +65,6 @@ class ZApp:
self.labels = []
self.parameters = []
self.parse_parameters(zapp)
if 'guest_access' in zapp:
self.guest_access = zapp['guest_access']
else:
self.guest_access = False
if 'logo' in zapp:
self.logo = zapp['logo']
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment