Remove Agent 327 special content lock

This commit is contained in:
Pablo Vazquez 2017-05-15 11:55:43 +02:00
parent 71403e6f28
commit abcb0c27a0

View File

@ -420,12 +420,7 @@ script.
nodeId = nodeId.substr(2);
}
// XXX temporary lock for agent 327 project
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' and not (node.permissions and node.permissions.world) %}
var url = '/join-agent';
{% else %}
var url = '/nodes/' + nodeId + '/view';
{% endif %}
loadNodeContent(url, nodeId);
// Determine whether we should push the new state or not.