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
{{ message }}
Repository navigation
Legal API: "GET business" V2 endpoint should check authorization before returning slim response #30274
Current status: waiting for Kial to advise on whether the current code order is correct. If it is, we should add a code comment with an explanation. If not then we should switch the code order.
Sorry I didn't see this till now. I originally added the 'slim' response for the search use case and it started as public only data. Since then we've added a new business public accessible endpoint that search was updated to use so this can be closed over with auth now (note: the code needs to be turned on for the non slim auth as well which could be part of this ticket)
Activity
vysakh-menon-aot commentedon Aug 19, 2025
@kialj876 any impact on business/person search updates if we do this?
argush3 commentedon Aug 19, 2025
Pretty sure slim version of GET business endpoint still needs to be open for search
severinbeauvais commentedon Aug 19, 2025
It would be great to drop a code comment in there explaining this, because it looks wrong, haha.
argush3 commentedon Aug 19, 2025
yeah, we can drop a comment in the code as soon as we get confirmation from Kial.
severinbeauvais commentedon Aug 20, 2025
Current status: waiting for Kial to advise on whether the current code order is correct. If it is, we should add a code comment with an explanation. If not then we should switch the code order.
severinbeauvais commentedon Oct 23, 2025
According to this comment in a LEAR PR, all data in the slim response is legally valid to show to a public user.
Hence, THIS ticket is not needed and can be closed.
@kialj876 Is my analysis correct? Thanks!
TVWerdal commentedon Feb 5, 2026
@kialj876 Just wanted to bump this ticket back into discussion, is @severinbeauvais analysis correct? Could this ticket be closed?
@mbertucci FYI.
kialj876 commentedon May 15, 2026
Sorry I didn't see this till now. I originally added the 'slim' response for the search use case and it started as public only data. Since then we've added a new business public accessible endpoint that search was updated to use so this can be closed over with auth now (note: the code needs to be turned on for the non slim auth as well which could be part of this ticket)