Show free assets

This commit is contained in:
Pablo Vazquez 2016-12-02 15:39:44 +01:00
parent 5f590a2063
commit 0190cf944a

View File

@ -376,7 +376,8 @@ script.
nodeId = nodeId.substr(2);
}
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' %}
// XXX temporary lock for agent 327 project
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' and not node.permissions.world %}
var url = '/join-agent';
{% else %}
var url = '/nodes/' + nodeId + '/view';