Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

[Feature request] Support Github Orgs as Customers in edge-auth #602

Closed
wants to merge 1 commit into from

Conversation

Waterdrips
Copy link
Contributor

Description

This Commit adds support for using a github Organisation as a "Customer"
in the customers file. This means users can manage their access controls
using github organisations rather than having to add/remove from the
customers file.

Signed-off-by: Alistair Hey [email protected]

How Has This Been Tested?

Tested by only having an organisation in the Customers file, checking
that I didnt get access with the previous version of edge-auth, then
changing to use my new version and I was issued a token and could access
the dashboard

Unit tests written

How are existing users impacted? What migration steps/scripts do we need?

Any users who have an organisation in their Customers file will give access to public members of that organisation if they don't already exist in the ACL.

Users who wish to manage their ACL using github organisations can now use the organisation in the Customers file. Then only need to add/remove users from the organisation to give access.

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

This Commit adds support for using a github Organisation as a "Customer"
in the customers file. This means users can manage their access controls
using github organisations rather than having to add/remove from the
customers file.

Tested by only having an organisation in the Customers file, checking
that I didn't get access with the previous version of edge-auth, then
changing to use my new version and I was issued a token and could access
the dashboard

Signed-off-by: Alistair Hey <[email protected]>
@alexellis alexellis changed the title Support Github Orgs as Customers in edge-auth [Feature request] Support Github Orgs as Customers in edge-auth Mar 4, 2020
@alexellis
Copy link
Member

Hi @Waterdrips, changes like this which affect the roadmap and security need to be properly proposed as issues before being worked on.

See the contribution guide about making proposals, please include the use-case, current workarounds and why you feel this change is required.

https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md#i-have-a-great-idea

Alex

@Waterdrips
Copy link
Contributor Author

/close

see #603

@derek derek bot closed this Mar 4, 2020
@Waterdrips Waterdrips deleted the make-orgs-customers branch July 16, 2020 06:41
@Waterdrips Waterdrips restored the make-orgs-customers branch July 16, 2020 06:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants