Comments (5)
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.
@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.
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.
@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.
Great, thank you! I will work on that.
from shopcube.
Related Issues (20)
- docs: use dirhtml instead of html to build the docs
- refactor: use src layout for more organized layout, easier test, prevent junk imports etc HOT 1
- bug: duplicate code for auto config HOT 1
- Set logo to shopyo.png HOT 2
- Add docs/ to .gitignore
- Bug: setting .flaskenv raises ModuleNotFoundError: No module named 'modules' HOT 2
- Fix new command
- FEAT: separate the api and template part HOT 2
- TEST: add a way to test `initialise` after `new` command
- test issue
- DOCS: move the sphinx_source to root and rename it to docs
- DOCS: remove github pages from Environments HOT 1
- DOCS: Add flask shell instructions
- FEAT: yorender which accepts context as dictionary
- Cannot Update picture for products! HOT 3
- [feature request] Localization support HOT 1
- Add theming support on README
- Add kofi link to title in README HOT 1
- Change logo link in README HOT 1
- Don't allow add to cart if out of stock!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopcube.