GithubHelp home page GithubHelp logo

Comments (5)

rushasdev avatar rushasdev commented on June 1, 2024

A basic classification would be admin and non-admin accounts.

This classification already exists in /admin/ and option in /admin/add.
Could you please clarify? What do you mean by permission control -except for accessing admin panel?

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@rhasoff permission exists, but permission level is about for example having people accounts etc.
Currently admin can access everything. But if we want to restrict access we might want to create other types of accounts. See https://flask-user.readthedocs.io/en/latest/ for example

from shopcube.

lynchmar avatar lynchmar commented on June 1, 2024

I would like to work on this! I am a first time contributor. Is there any more information you could give about what exactly you're looking for?

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@lynchmar actually sometimes back we added the role feature. So that's maybe fine for role. Now we need a way to define precedence:

Like laywer have precedence over teachers

If someone is a lawyer, he can access whatever thing teacher can access

Lets say doctor has the same level as lawyer. So, lawyer wont be able to access what doctor can. Feel free to implement it your way! Hint: use dictionaries to handle precedence

from shopcube.

lynchmar avatar lynchmar commented on June 1, 2024

Great, thank you! I will work on that.

from shopcube.

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.