Coder Social home page Coder Social logo

Comments (8)

colinin avatar colinin commented on May 30, 2024

这是因为权限的原因,你必须确保登录的用户或者用户组拥有这个页面的权限:
(https://github.com/colinin/abp-vue-admin-element-typescript/blob/master/vueJs/src/router/modules/admin.ts)

拥有这个页面的权限就可以任意授权了

from abp-next-admin.

colinin avatar colinin commented on May 30, 2024

abp框架的种子数据一般都会初始化admin用户及Identity项目的权限

from abp-next-admin.

colinin avatar colinin commented on May 30, 2024

至于通知系统的404,需要在网关添加hub的路由,我稍后更新一下网关初始化脚本

from abp-next-admin.

Refactoring avatar Refactoring commented on May 30, 2024

用CLI创建了个项目,对比发现权限表里,的确是少了数据。用户表中admin有创建。
感觉现有项目是不是少了部分初始化的代码?

from abp-next-admin.

colinin avatar colinin commented on May 30, 2024

@Refactoring 查看abp源码: (https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs)

项目启动会给admin角色授予所有权限,我在启动项目引用了相关模块,权限种子肯定是运行了的,这个项目目前唯一缺失的就是几个网关路由了

from abp-next-admin.

Refactoring avatar Refactoring commented on May 30, 2024

感谢回复,我再研究研究。

from abp-next-admin.

colinin avatar colinin commented on May 30, 2024

@Refactoring
网关的初始化sql已更新,删除apigateway数据库,重新运行脚本就行了

from abp-next-admin.

colinin avatar colinin commented on May 30, 2024

如果还有问题请再开一个issue,这个我就关闭了

from abp-next-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.