API: Update authority-checker.service.ts
to allow checking for multiple authorities
#196
Labels
difficulty: 3
foss hack
Clustering all the curated issues for Foss Hack 2024
help wanted
Extra attention is needed
priority: medium
scope: api
Everything related to the API
type: enhancement
New feature or request
Description
The authority check input in
authority-checker.service.ts
file currently takes the following interface as its input type:The problem with this approach is, we are not able to check multiple authorities at once. Ideally, we would want
authority
to be renamed to...authorities: Authority[]
. This will allow us to pass multiple authorities so that we can check them at once.Ideally, we would like the comparison in the functions to be set difference operations.
Solution
authority
field and all its occurrences.e2e.spec.ts
files in the modulesThe text was updated successfully, but these errors were encountered: