Giter Site home page Giter Site logo

Comments (8)

cthoyt avatar cthoyt commented on May 25, 2024

Right now this issue is solved by giving SCAI users elevated access. When multiple users from other organizations are on pybel web, we can invest effort into this

from bel-commons.

ddomingof avatar ddomingof commented on May 25, 2024

They need it for BI project. So create another role for each specific project.

from bel-commons.

cthoyt avatar cthoyt commented on May 25, 2024

from bel-commons.

ddomingof avatar ddomingof commented on May 25, 2024

" This will also mean there should be a 1-1 correspondence between a project and a role." why? you wanna have an admin of the project?

Already created the project table

from bel-commons.

cthoyt avatar cthoyt commented on May 25, 2024

I guess we don't need the table connecting projects to roles but it would be nice since there's already machinery in the flask-security mixin for lookup of roles. We can sort of duplicate that for user membership of projects and use that code to decide what networks a user has rights to

from bel-commons.

cthoyt avatar cthoyt commented on May 25, 2024

It would also be cool if we could muck around with the flask-admin views to allow even normal users to manage their projects and add more users

from bel-commons.

cthoyt avatar cthoyt commented on May 25, 2024

Alternatively, could we just add a Boolean attribute to each role to designate if it's corresponding to a project?

We should come up with a views and a diagram of how users will interact with projects before making a data model

from bel-commons.

cthoyt avatar cthoyt commented on May 25, 2024

Done with 2d99079, e202605 and others

from bel-commons.

Related Issues (20)

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.