diff --git a/src/templates/projects/view.jade b/src/templates/projects/view.jade index cd28f5bc..275ef841 100644 --- a/src/templates/projects/view.jade +++ b/src/templates/projects/view.jade @@ -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';