Currently, openfaas gateway is only available to admin users.
We should secure openfaas gateway with the new auth model so that any users can be granted permission to access openfaas APIs.
More specifically:
the mustBeAdmin middleware usage here must be removed.
Add back on fine-gained access control based on user's permission rather than roles
Secure openfaas gateway with new auth model
Currently, openfaas gateway is only available to admin users. We should secure openfaas gateway with the new auth model so that any users can be granted permission to access openfaas APIs.
More specifically:
mustBeAdmin
middleware usage here must be removed.