Added config to optionally disable dataset ingestions
Created by: ri-pandey
Description
Added config to optionally disable dataset ingestions
Changes Made
-
Feature added - Disabled dataset ingestions by role.
- The sidebar item for ingestion is only visisble to admin role.
- The /datasets/ingest page is only accessible to admins. Shows an alert for other roles.
- FileSystem search API is only enabled for admin roles.
Checklist
Before submitting this PR, please make sure that:
-
Your code passes linting and coding style checks. -
Documentation has been updated to reflect the changes. -
You have reviewed your own code and resolved any merge conflicts. -
You have requested a review from at least one team member.