-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add groups enrollment logic to be applied after users registration #793
Add groups enrollment logic to be applied after users registration #793
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main changement is related to addind a DefaultGroup properties class, such as all the others already defined into IamProperties
iam-login-service/src/test/java/it/infn/mw/iam/test/service/IamAccountServiceTests.java
Show resolved
Hide resolved
iam-login-service/src/main/java/it/infn/mw/iam/core/user/DefaultIamAccountService.java
Outdated
Show resolved
Hide resolved
iam-login-service/src/main/java/it/infn/mw/iam/config/IamProperties.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor cosmetic fix requested. Another thing we could add to this PR description the example of the application.yml configuration required (e.g. the part we removed).
This will make easier to understand it when reading new features from release notes.
iam-login-service/src/main/java/it/infn/mw/iam/core/user/DefaultIamAccountService.java
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Properties to be added in application.yml
When setting up new user accounts, administrators often need to determine which group these accounts should belong to by default. Here’s what you need to know:
name (Default Group):
The term “name” represents the specific group that serves as the default destination for new accounts.
When a user account is created, it automatically becomes a member of this default group unless specified otherwise.
enrollment Types:
There are two enrollment types that determine how new accounts join the default group:
INSERT Enrollment: With this type, the system swiftly adds the new account to the default group during account creation.
No additional steps or user interaction are required—the account slips seamlessly into the group.
GROUP_REQUEST Enrollment (Not implemented): Here, the process is a bit more interactive. New request to join the group will be sent to the admin.
Current Functionality:
As of now, the system has implemented the INSERT enrollment type.
When creating a new account, it automatically becomes part of the default group (“name”) if that group exists.