Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void permissionError(NotebookSocket conn, String op,
op, userAndRoles, allowed);

conn.send(serializeMessage(new Message(OP.AUTH_INFO).put("info",
"Insufficient privileges to " + op + " notebook.\n\n" +
"Insufficient privileges to " + op + ".\n\n" +
"Allowed users or roles: " + allowed.toString() + "\n\n" +
"But the user " + userName + " belongs to: " + userAndRoles.toString())));
}
Expand Down Expand Up @@ -713,7 +713,7 @@ private void renameNote(NotebookSocket conn, HashSet<String> userAndRoles,

NotebookAuthorization notebookAuthorization = notebook.getNotebookAuthorization();
if (!notebookAuthorization.isOwner(noteId, userAndRoles)) {
permissionError(conn, "rename", fromMessage.principal,
permissionError(conn, "rename the note", fromMessage.principal,
userAndRoles, notebookAuthorization.getOwners(noteId));
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h4 class="modal-title" ng-show="notenamectrl.clone">Clone note</h4>
</select>
</div>
</div>
Use '/' to create folders. Example: /NoteDirA/Notebook1
Use '/' to create folders. Example: /NoteDirA/Note1
</div>
<div class="modal-footer">
<button type="button" id="createNoteButton"
Expand Down