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

Added $user->created_by to API user create method #14020

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Conversation

snipe
Copy link
Owner

@snipe snipe commented Dec 12, 2023

We weren't storing the admin ID of the creating admin the bearer token belongs to when a user was being created via API. Now we are.

Signed-off-by: snipe <snipe@snipe.net>
@snipe snipe merged commit 6bb842f into develop Dec 12, 2023
1 of 2 checks passed
@snipe snipe deleted the bug/sc-24326 branch December 12, 2023 12:27
Copy link

what-the-diff bot commented Dec 12, 2023

PR Summary

  • Authentication for User Creation
    A new line has been added in the code to enhance user management. Whenever a new User object is created, the system will now automatically save who created that object. As a result, we now have a reliable tracking system in place which records who is responsible for each action in our system. This contributes to better accountability and transparency within the application, leading us to pinpoint any issues more effectively and ensure the overall integrity of our data.

Copy link

@snipe snipe changed the title Added $user->created_at to API user create method Added $user->created_by to API user create method Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant