tanishqgandhi1908 commented on PR #8890: URL: https://github.com/apache/texera/pull/8890#issuecomment-6423118246
> Thanks for the update. > > * `/hub/user-access` returns only the uids found in the access table, and the frontend's `entryLink` uses that list to choose between the private page and the hub page. An owner whose row was already removed is therefore still sent to the hub page. Including the owner's uid there or having `entryLink` also check `entry.isOwner`, would close it. > * `fetchDashboardVersionedResourcesByIds` still joins every user's access row so a non-owner can be shown another user's privilege including the owner's WRITE. > * Workflows still read privilege from the row alone. > > Could these be fixed here or tracked as issues with the description narrowed to match? Thanks! Have fixed the current points and updated the description 1. entryLink now also treats the entry’s owner (ownerId) as able to reach the private page. 2. fetchDashboardVersionedResourcesByIds now limits the access join to the viewer, as search does, so a card only carries the viewer’s own privilege. 3. Workflows: their sharing already refuses to change or remove the owner’s row, so the app can’t damage it. Moving their read paths to the same owner rule touches workflow search and access code, so I have filed #9150 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
