Challenge Overview
Challenge Requirements
Our security system is designed based on RBAC (Role Based Access Control). Users are directly assigned to some roles for performing permitted works.
In addition to it, we’re going to introduce “Groups” to our security system to implement “Private community”. A group has members which can be users or other groups. As same as users, groups can be assigned to roles. The initial scope of development is to build API and Admin tool to manage group and membership.
We have already implemented the following endpoints in our code base as a guide:
- Create Group
- Query Groups by Member
- Add Member to Group
- Remove Member from Group
For this challenge, we need to implemente the following endpoints (including any entities required by the API):
- Modify Group
- Get Group
- Delete Group
- Get Members
The code that you need to update is in the folder tech.core/tech.core.service.identity, you should check the README in the tech.core/tech.core.service.identity/docker to see how to deploy and test the service code locally.
Please the documents provided in the challenge forum to get a better idea about the requirements.
Test
Unit tests are required for the new API.
Code
Your code must be well documented.
Technologies
- Java
- Informix
- SQL
- Docker
Final Submission Guidelines
Submission
- Updated code that covers all the requirements.
- A detailed deployment / verification guide explaining how to run and test your submission with some meaningful data.
- The winner will be asked to send a pull request to our repo.