Code Monkey home page Code Monkey logo

Comments (1)

TianPangJi avatar TianPangJi commented on May 25, 2024

问下这个可以实现,权限不通的用户登陆到后台,所显示的功能也不一样,没太看明白怎么操作

您好,您所说的功能可以实现的,可以通过给不同的用户分配不同的角色,不同的角色授予不同的权限,权限认证使用utils/RbacPermission,可自行查看;
但是项目初始化,默认是没有配置权限的,可在页面配置,后端主要视图集为PermissionsViewSet;但是前端的权限控制还没有写完,如果自己写的话可参考vue-element-admin,前端我使用的就是这位大佬的模板,后续这块会完善,同时会发布说明文档。

from drf_admin.

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.