You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user has access to a file that is encrypted to a group that they are not a part of via
ironhide file:info file.iron
Then they get an error that says:
Error: Cannot read property 'groupName' of undefined
This is because we had previously assumed that the user is always in the groups that comes back in the document visibility list. This changed at some point in the past so now it also returns the IDs of the groups that the user is not a member/admin of.
Best idea to fix this is to just omit the groups in the table that the user is not part of.
The text was updated successfully, but these errors were encountered:
ernieturner
changed the title
Better errors when a user can't access a file
Fix error when trying to display info about a file that is also shared with a group the user is not a member/admin of
Mar 27, 2020
If a user has access to a file that is encrypted to a group that they are not a part of via
ironhide file:info file.iron
Then they get an error that says:
Error: Cannot read property 'groupName' of undefined
This is because we had previously assumed that the user is always in the groups that comes back in the document visibility list. This changed at some point in the past so now it also returns the IDs of the groups that the user is not a member/admin of.
Best idea to fix this is to just omit the groups in the table that the user is not part of.
The text was updated successfully, but these errors were encountered: