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

Use given role_id on registration #95

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dontub
Copy link
Contributor

@dontub dontub commented Sep 13, 2024

In RegistrationEventFactory the given role_id is used, even though it's not part of the profile fields. This restores previous behavior.

There's no validation, as before. (The same holds true for RemoteParticipant.update.) Actually I'm not sure if this is correct.

Dominic Tubach added 7 commits August 1, 2024 14:51
Extension template is installed. No github action for phpcs and phpstan,
yet, because of too much errors. They need to be fixed first. Maybe the
phpstan level could be (initially) reduced.
In `RegistrationEventFactory` the given `role_id` is used, even though
it's not part of the profile fields. This restores previous behavior.
@dontub dontub marked this pull request as draft September 13, 2024 10:23
@jensschuppe
Copy link
Contributor

I'm not sure either. If role IDs are supposed to be submitted data from the profile form, they should be validated. I guess they were only supposed to be defined by the profile. Maybe @bjendres can remember …?

@dontub dontub force-pushed the run-tests-in-github-action branch from f98ae7a to fecf861 Compare November 19, 2024 10:39
Base automatically changed from run-tests-in-github-action to master November 19, 2024 11:02
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.

2 participants