Comments (5)
你目前是用的xadmin-server 是哪个版本?权限路由是服务器实时获取了,理论上是不用重启。
数据权限是继承关系,需要从上面的部门一步一步继承,如果你直接想要所有的数据权限,可以直接将这个权限设置在用户上面
from xadmin-server.
使用的是以前3 4月份的版本 也使用过2.1.0 我在想是不是我新创建的模块路由写法跟system的有些不一样导致的 我使用的是router = DefaultRouter() 我尝试一下逐步继承权限
from xadmin-server.
路由是通过 common.core.utils.get_all_url_dict
这个方法自动获取,正常django能加载的路由,这里都能获取到对应的路由
from xadmin-server.
对 就是在这里获取路由的时候 会少了前缀A 直接把abc三个子路由获取到了
from xadmin-server.
你试一下最新版本代码,看下是否有上面说的路由获取不到问题
from xadmin-server.
Related Issues (20)
- 请问有SpringBoot版本的吗? HOT 1
- 后台启动报错 HOT 5
- 创建管理员报错 HOT 2
- 导入菜单报错 HOT 2
- 静态资源报错 HOT 3
- 接口加载耗时 HOT 1
- 服务端项目必须运行在linux系统上吗 HOT 2
- celery 定时任务启动后前台无法加载对应的页面 HOT 1
- ⚠️ Windows上面无法正常运行celery flower,导致任务监控无法打开,请使用Linux环境开发部署 HOT 2
- 验证码 加载失败 HOT 1
- 登录问题 HOT 1
- API接口文档相关问题 HOT 1
- [Feature] 希望能添加为用户设置多个部门以及为部门设置负责人的需求 HOT 3
- 页面迁移没有生效 HOT 2
- 建议 HOT 1
- [Feature] 关于数据的可见范围、可编辑范围的控制需求 HOT 1
- bug反馈 HOT 1
- feat: 根据后端接口自动生成前端代码 HOT 1
- demo权限设置问题 HOT 1
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 xadmin-server.