Comments (1)
问下这个可以实现,权限不通的用户登陆到后台,所显示的功能也不一样,没太看明白怎么操作
您好,您所说的功能可以实现的,可以通过给不同的用户分配不同的角色,不同的角色授予不同的权限,权限认证使用utils/RbacPermission,可自行查看;
但是项目初始化,默认是没有配置权限的,可在页面配置,后端主要视图集为PermissionsViewSet;但是前端的权限控制还没有写完,如果自己写的话可参考vue-element-admin,前端我使用的就是这位大佬的模板,后续这块会完善,同时会发布说明文档。
from drf_admin.
Related Issues (20)
- 【建议】在文档中指定要求的redis版本 HOT 2
- 【咨询问题】在项目任意文件中调试(debug)变量 HOT 3
- 联系求助 HOT 3
- 关于用户权限的实现 HOT 1
- 权限问题 HOT 2
- 大佬,快更新呀,感觉权限模块没有完全实现 HOT 2
- django_apscheduler 在 uwsgi 多进程环境下无法正常运行 HOT 2
- drf admin项目 QQ交流群
- ModuleNotFoundError: No module named 'easyaudit' HOT 1
- object-level / instance-level / row-level 权限控制 HOT 2
- 错误的代码放上了折腾好久 HOT 1
- 关于主机绑定部门问题 HOT 1
- 依赖包文件版本需更新 HOT 1
- 大佬诚招测开讲师,我的微信:18821768014,有意向我们可以聊下
- JobsListCreateAPIView(ListCreateAPIView)类的问题 HOT 3
- 运行久了后端会报“took too long to shut down and was killed.”错误,导致连接异常
- 资产管理无法显示 HOT 3
- 用户权限问题 HOT 1
- 【建议】在文档中指定python具体版本 HOT 2
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 drf_admin.