Skip to content

Code Challenge | Software Engineer - RANJANI CHOUBEY #206

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RanJani044
Copy link

Added distributor permission validation:

Users can input the INCLUDE and EXCLUDE regions for each distributor.
Permissions for sub-distributors are checked against parent distributors to ensure the hierarchy of permissions is respected.
Case-insensitive matching for regions in the permission lists.
Preview before finalizing permissions:

After entering INCLUDE and EXCLUDE regions, the program now displays a preview summary of the distributor’s permissions.
The user is prompted for confirmation before proceeding with permission checks for cities.
Permission Checking:

The system checks if a distributor can distribute in a given city based on their INCLUDE and EXCLUDE regions.
Displays whether the distributor can distribute in specific cities (YES/NO).

code challenge

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.

None yet

1 participant