-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unscoped finds in find_with
#136
Comments
Initial thoughts: SCIM API calls can only be made from an authorised caller, and the authorised caller should be issued per-tenant, with their lookups scoped by tenancy. That's how we do it, anyway and is one of the only places in the system that we justify use of |
Oh, in addition - also check out |
Hey @pond thanks for coming back so quick - we have implemented the Perhaps Or the example in the codebase could be updated to use |
When implementing the
find_with
proc in thescim_attributes_map
of theGroup
class we can write something like this:Unfortunately this is a security risk where if a malicious actor with an account had the user id of a user from another account/tenant they could access details of that user.
Is there any way to pass additional information into that function so that we could scope the finds to the tenant?
The text was updated successfully, but these errors were encountered: