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(3123): Restrict overwriting username on create Event #3129

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

kumada626
Copy link
Contributor

Context

Currently, when create event, users can impersonate the user who created the event.
So API restricts overwriting username to restrict impersonate the user who created the event.

Objective

If the event is created by not sd:scheduler user, the username of the event's creator is set by the username of the token that called the API.

References

#3123

License

I confirm that this contribution is made under a BSD license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@coveralls
Copy link

Coverage Status

coverage: 94.922% (+0.003%) from 94.919%
when pulling f6b0f94 on fix_3123
into 3f817eb on master.

@tkyi tkyi merged commit c3ba648 into master Jun 3, 2024
2 checks passed
@tkyi tkyi deleted the fix_3123 branch June 3, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants