Skip to content

Commit

Permalink
[bug] Fix token validation with empty permissions;Fix bug 70216
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Sep 15, 2024
1 parent 3e0af37 commit b17f2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocService/sources/DocsCoServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,7 @@ exports.install = function(server, callbackFunction) {
const curUserId = curUserIdOriginal + curIndexUser;
conn.tenant = tenantManager.getTenantByConnection(ctx, conn);
conn.docId = data.docid;
conn.permissions = data.permissions || {};
conn.permissions = data.permissions;
conn.user = {
id: curUserId,
idOriginal: curUserIdOriginal,
Expand Down

0 comments on commit b17f2f1

Please sign in to comment.