Coder Social home page Coder Social logo

bdrc-auth-policies's Issues

defining IP ranges

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?

no password reset email

Karma tried to reset his password but didn't receive any email from auth0... not sure how to debug that but let's track it there

user group based on collection of works

Similar to issue #2 we need a means of associating a full readonly access privilege to a collection of works such as with IP address ranges associated with Core Text Collections.

The application is for translators such as the 84000 amorphous team that need full read access to the pedurma katen - which is copyrighted. Essentially we create an adm:Product or a bdo:VirtualInstance that includes a set of Instances, like W1PD96682 and bdr:W1PD95844 and then associate a set of users that can have full read access to these instances.

Something like:

bdr:Pedurmas 
  a :VirtualInstance ;
  :hasFullAccessGroup  bda:Group84000 ;
  :hasMember  bdr:W1PD96682 , bdr:W1PD95844 ;
.

IP address ranges that are used in Core Text Collection are not suitable for this use case since the users aren't tied to a predictable set of IP ranges; and the blanket read-only user access to all copyrighted works afforded by the group 84000 in tbrc.org is much too broad.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.