Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plugin] Limit open registration by email domain #8

Closed
bdolor opened this issue Oct 20, 2016 · 9 comments
Closed

[plugin] Limit open registration by email domain #8

bdolor opened this issue Oct 20, 2016 · 9 comments

Comments

@bdolor
Copy link
Contributor

bdolor commented Oct 20, 2016

There is a working example of a BCcampus built plugin that limits registration to people with certain email domains. https://github.com/BCcampus/bc-validate

While it is built for Pressbooks, it can be modified to work with WordPress. While the current plugin limits the email domains to anyone in BC post-sec https://github.com/BCcampus/bc-validate/blob/dev/public/class-bc-validate-public.php#L48 the following domains need to be added:

ahsabc.com
bcaafc.com
acc-society.bc.ca
bcaafc.com
frpbc.ca
bcasw.org
cw.bc.ca
bccf.ca 
bchealthyliving.ca
bcrpa.bc.ca
caddra.ca
cancer.ca
childhoodobesityfoundation.ca
caphc.org 
childrenshearing.ca
educacentre.com
ecebc.ca
fsibc.com
fcssbc.ca
fpcc.ca
fnha.ca​
hippycanada.ca
jibc.ca
ubc.ca
metiscommission.com
cw.bc.ca
ldabc.ca
metisfamilyservices.ca
mcsbc.org  
northernhealth.ca
psychologyfoundation.org
phsa.ca​ 
rootsofempathy.org
rootsofempathy.org
saccabc.org
successby6bc.ca 
svifcca.com
therapybc.ca
viha.ca 

@bdolor
Copy link
Contributor Author

bdolor commented Oct 20, 2016

@kathreenriel can you please verify

  1. that is is acceptable to also grant access to members of BC post sec as seen in this list: https://github.com/BCcampus/bc-validate/blob/dev/public/class-bc-validate-public.php#L48
  2. that the above list of domains is complete and accurate. (There were a couple gmail and shaw domains in the original list)

@bdolor bdolor mentioned this issue Oct 20, 2016
@rwestmacott rwestmacott self-assigned this Oct 20, 2016
@kathreenriel
Copy link

  1. Yes to access of all BC post sec
  2. The list of domains is not complete (see those highlighted in yellow) . Corinne is working on domains for the all CCRR Agencies (about 50) I will also send you domains for all BC school districts and post secondary insitutions

@bdolor
Copy link
Contributor Author

bdolor commented Oct 20, 2016

thank you - noted that the list is not complete and pending. Please post the missing domains here, when they are available.

@kathreenriel
Copy link

There is a 404 with the link above https://github.com/BCcampus/bc-validate/blob/dev/public/class-bc-validate-public.php#L48

Attached is a current list of BC post secondary institutions and Indigenous post-secondary domains to be added to the list above. Will post public school districts in next comment.
Post Secondary Institutions.xlsx

@bdolor
Copy link
Contributor Author

bdolor commented Oct 20, 2016

@kathreenriel the 404 was a permissions issue. Should be resolved now

@kathreenriel
Copy link

Here is the BC school districts that need to be added to the list
BC School District domains.xlsx

@kathreenriel
Copy link

Attached are the CCRR domains that could be found. This file is the final addition to complete the list started at the top of this page.
CCRR domain-names.xlsx

@bdolor
Copy link
Contributor Author

bdolor commented Oct 20, 2016

Plugin repo is here: https://github.com/BCcampus/validate-by-domain

@rwestmacott
Copy link
Contributor

rwestmacott commented Oct 26, 2016

plugin logic modifications are done and the plugin domain validation list has been updated to include the above domains.

Closing task.

commit f74e11f0a7434a7c9c2bc29c36d801414ac188b9
commit 392d364d8908006b5e43ea868321ef06515ae84b
commit c1d6c6f8356e95467f712ea9579db032f2e7e90f
commit 1df259ee2dea9c819f4eac88b328e4fb49d48316
commit c0df8c0ac454143f9c619b068ef29f7bdf9c29b4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants