Skip to content
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

Fix user creation with FullMultipleCompanySupport enabled over API #15676

Merged
merged 1 commit into from
Oct 22, 2024

Commits on Oct 16, 2024

  1. Fix user creation with FullMultipleCompanySupport enabled over API

    It is currently possible as a non-superuser to create a new user or patch an existing user with arbitrary company over the API if FullMultipleCompanySupport is enabled.
    Altough a highly unlikely scenario as the user needs permission to create API keys and new users, it is a bug that should get fixed.
    
    Add a call to getIdForCurrentUser() to normalize the company_id if FullMultipleCompanySupport is enabled.
    Toreg87 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fdcc17c View commit details
    Browse the repository at this point in the history