Skip to content

Commit 3af2082

Browse files
authored
Merge pull request #1 from Kemialytics/authenticate-data-access
start with login screen, file access needs authorization
2 parents dd11326 + 5ad86a6 commit 3af2082

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

client/src/visualizer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3089,8 +3089,6 @@ Util.profileClear();
30893089
Util.profileStart('before render');
30903090

30913091
renderDocument();
3092-
} else {
3093-
dispatcher.post(0, 'renderError:noFileSpecified');
30943092
}
30953093
}
30963094
};

client/src/visualizer_ui.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,10 +2031,7 @@ var VisualizerUI = (function($, window, undefined) {
20312031
dispatcher.post('user', [null]);
20322032
$('.login').hide();
20332033
// don't show tutorial if there's a specific document (annoyance)
2034-
if (!doc) {
2035-
dispatcher.post('showForm', [tutorialForm]);
2036-
$('#tutorial-ok').focus();
2037-
}
2034+
dispatcher.post('showForm', [authForm]);
20382035
}
20392036
},
20402037
{ keep: true }

server/src/dispatch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ def logging_no_op(collection, document, log):
134134
'searchNoteInCollection',
135135

136136
'tag',
137+
'getCollectionInformation',
138+
'getDocument',
139+
'downloadFile',
140+
'downloadCollection',
137141
))
138142

139143
# Sanity check

0 commit comments

Comments
 (0)