scorelab / OpenMF

An Open Source Mobile Forensics Investigation Tool for Android Platform
Apache License 2.0
150 stars 97 forks source link

[Backend] Created access decorators for all user types #137

Open amlannandy opened 3 years ago

amlannandy commented 3 years ago

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:

screen-capture

Checklist: