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

defining IP ranges #2

Open
eroux opened this issue Oct 13, 2019 · 0 comments
Open

defining IP ranges #2

eroux opened this issue Oct 13, 2019 · 0 comments

Comments

@eroux
Copy link
Contributor

eroux commented Oct 13, 2019

We need to be able to add the IP addresses of the institutions that pay for the CTC collection, and be able to give people who connect with these IP addresses a special group, which is part of the CTC group.

So we would have something like

adr:CTCAccess a aut:Group .

adr:CTCInstitution1 a aut:Group ;
    aut:partOfGroup adr:CTCAccess ;
    skos:notation "institution1" ;
    skos:prefLabel "a name for institution 1"@en ;
    aut:IpAddresses "1.2.3.4/5" , "2.3.4.5/6" .

once we have the vocabulary for that we can migrate the current bdrc data. Then in bdrc-auth-lib we need to have a function to match an ip address against all the groups and add the group to the user profile on the fly.

@MarcAgate no emergency but I think now would be a good time to do so since we're making some changes on the user and auth stuff. Wdyt?

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

No branches or pull requests

1 participant