Skip to content

Commit

Permalink
feat: Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Dec 2, 2023
1 parent 8fe71f1 commit 0017e44
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,18 @@ To run the tests, execute the following command:
python -m unittest discover src/tests
```


# Unit Tests added for Role Classes
This section describes the new unit tests that were added to verify the permissions of different user roles.

- `Client`: Tests verify basic account viewing capabilities without access to sensitive financial resources.
- `PremiumClient`: Checks for extended privileges over the `Client` role including access to investment portfolio.
- `FinancialPlanner`: Focuses on accessibility to relevant financial planning resources.
- `FinancialAdvisor`: Evaluates access to advisee accounts and investment portfolios during specified working hours.
- `InvestmentAnalyst`: Assesses the ability to view investment portfolios but restricts client and advisor contact details.
- `TechnicalSupport`: Confirms no access to sensitive account information while providing technical assistance.
- `AuthorizedTechnicalSupport`: Similar to `TechnicalSupport`, but checks for specific scenarios where elevated permissions are granted.
- `ComplianceOfficer`: Tests for comprehensive access to uphold system compliance across financial operations.
- `Teller` (time-based): Tests are scenario-focused, ensuring tellers have access to the necessary resources only during their working hours to handle transactions.

These tests are essential to ensure that each role is only granted permissions that align with their responsibilities within the system. This is important to maintain security and privacy norms as per the access control policy.

0 comments on commit 0017e44

Please sign in to comment.