Created access decorators for each user type - Admin, Management, Extractor
If you add this decorator (e.g mangement_only decorator) on a route, then that route will only be accessible to management.
Fixes #136
Type of change
[x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Add the necessary decorator to a route, now it can only be accessed by that user type.
Test Configuration:
Windows 10
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
Created access decorators for each user type - Admin, Management, Extractor If you add this decorator (e.g mangement_only decorator) on a route, then that route will only be accessible to management.
Fixes #136
Type of change
How Has This Been Tested?
Add the necessary decorator to a route, now it can only be accessed by that user type.
Test Configuration:
Checklist: