analysispreservation.cern.ch
analysispreservation.cern.ch copied to clipboard
ui: admin - create a schema permissions tab
After https://github.com/cernanalysispreservation/analysispreservation.cern.ch/pull/2361 is merged, we will have an API that can modify (allow/deny/remove) for schema record permissions
We should create a new tab on the admin schema panel (e.g. "Permissions", next to builder, notifications), that will:
- fetch and display the current permissions (GET)
- modify schema permissions (POST)
- can reuse the component from draft permissions so we dont have to create from scratch