Giter VIP home page Giter VIP logo

Comments (5)

nineaiyu avatar nineaiyu commented on July 3, 2024

你目前是用的xadmin-server 是哪个版本?权限路由是服务器实时获取了,理论上是不用重启。

数据权限是继承关系,需要从上面的部门一步一步继承,如果你直接想要所有的数据权限,可以直接将这个权限设置在用户上面

from xadmin-server.

zyj010zyj avatar zyj010zyj commented on July 3, 2024

使用的是以前3 4月份的版本 也使用过2.1.0 我在想是不是我新创建的模块路由写法跟system的有些不一样导致的 我使用的是router = DefaultRouter() 我尝试一下逐步继承权限

from xadmin-server.

nineaiyu avatar nineaiyu commented on July 3, 2024

路由是通过 common.core.utils.get_all_url_dict 这个方法自动获取,正常django能加载的路由,这里都能获取到对应的路由

from xadmin-server.

zyj010zyj avatar zyj010zyj commented on July 3, 2024

对 就是在这里获取路由的时候 会少了前缀A 直接把abc三个子路由获取到了

from xadmin-server.

nineaiyu avatar nineaiyu commented on July 3, 2024

你试一下最新版本代码,看下是否有上面说的路由获取不到问题

from xadmin-server.

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.