Comments (8)
这是因为权限的原因,你必须确保登录的用户或者用户组拥有这个页面的权限:
(https://github.com/colinin/abp-vue-admin-element-typescript/blob/master/vueJs/src/router/modules/admin.ts)
拥有这个页面的权限就可以任意授权了
from abp-next-admin.
abp框架的种子数据一般都会初始化admin用户及Identity项目的权限
from abp-next-admin.
至于通知系统的404,需要在网关添加hub的路由,我稍后更新一下网关初始化脚本
from abp-next-admin.
用CLI创建了个项目,对比发现权限表里,的确是少了数据。用户表中admin
有创建。
感觉现有项目是不是少了部分初始化的代码?
from abp-next-admin.
@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.
感谢回复,我再研究研究。
from abp-next-admin.
@Refactoring
网关的初始化sql已更新,删除apigateway数据库,重新运行脚本就行了
from abp-next-admin.
如果还有问题请再开一个issue,这个我就关闭了
from abp-next-admin.
Related Issues (20)
- 【Table】Destroying the TableAlert component causes an event exception in the a-alert component
- openiddict linkuser验证有问题 HOT 1
- 项目在linux下远程编译相关问题 HOT 1
- LINGYUN.Abp.IdGenerator模块SnowflakeIdGenerator参数验证逻辑有问题
- wechat configuration HOT 1
- Upgrade abp framework 7.0 HOT 2
- 端口问题 HOT 6
- 语言新增、修改有点问题 HOT 1
- ClientId 问题 HOT 1
- 微服务权限问题 HOT 1
- 数据库还原不了,能否给个项目说明
- 项目里面配置数据库连接字符串,数据库名有的带后缀-v70,有的不带,是有特殊用意吗 HOT 2
- 文件上传时,路径只能有一级,多级的文件可以上传成功,但是无法下载成功 HOT 1
- 找不到 LINGYUN.Abp.* Nuget 包 HOT 2
- OrganizationUnitAppService中,列表查询时,Filter条件,没有使用 HOT 2
- 框架建议精简下,有点笨重了
- 有没有表单设计和代码生成器 HOT 1
- 我赞助500块,出个视频吧
- 从来没见过这么6的项目,我先自己好好研究了。。
- Fix openiddict
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 abp-next-admin.