openfaas-cloud icon indicating copy to clipboard operation
openfaas-cloud copied to clipboard

[Feature request] Support GitLab group as functions' owner in dashboard

Open khos2ow opened this issue 4 years ago • 1 comments

Current Behaviour

In GitLab, considering https://git.example.com/group exists as a place for all the function repositories and user user is a member of that group and also exists in customers file, currently there's no way to see the list functions in group in openfaas cloud dashboard.

When logged in successfully to the dashboard I'm being redirected to may own page at /dashboard/user which only shows functions under my own personal namespace (i.e. my personal repositories) and not the groups I'm member of.

khos2ow avatar Nov 26 '20 01:11 khos2ow

Thanks for raising this. The GitLab integration is single-user only at the moment.

GitHub has multi-user / multi-org support.

To add this for GitLab, I created a temporary patch which appeared to work out well for your internal installation.

I think we could also improve the /dashboard/org page so that it just filters the list to whatever "org" is specified there.

alexellis avatar Dec 03 '20 09:12 alexellis