Comments (11)
清除下浏览器缓存呢,我这几天忙得没看到
from abp-next-admin.
咨询下是在哪里初始化权限写入redis缓存,十分感谢
from abp-next-admin.
咨询下是在哪里初始化权限写入redis缓存,十分感谢
Volo.Abp.PermissionManagement模块里面,PermissionStore引入了分布式缓存
from abp-next-admin.
咨询下是在哪里初始化权限写入redis缓存,十分感谢
因为官方的Volo.Abp.PermissionManagement.PermissionAppService是直接通过数据库查询权限,有很大的性能损耗,所以我自己重写了PermissionAppService通过PermissionStore来查询,优先查询缓存
from abp-next-admin.
好的谢谢
from abp-next-admin.
咨询下是在哪里初始化权限写入redis缓存,十分感谢
因为官方的Volo.Abp.PermissionManagement.PermissionAppService是直接通过数据库查询权限,有很大的性能损耗,所以我自己重写了PermissionAppService通过PermissionStore来查询,优先查询缓存
应该说是重写了PermissionManager
from abp-next-admin.
因为发布后总是获取不到权限所以想找下哪里初始化权限,感谢
from abp-next-admin.
初始化
都在PermissionStore中,最好把多个项目的Redis配置项统一一下,不然的话多个缓存空间不同步,就会出现各模块获取的缓存不一致的问题
from abp-next-admin.
前端如果出现权限没有了,可以尝试多刷新两下页面,刷新页面会用token重新请求application-configuration这个api的,如果还是不行就清理浏览器缓存。
如果是token过期了的话,需要找一个授权页面,自动跳转到登录页,这个没法通过刷新页面来处理,因为我没给启动页加权限,abp的模板也没这么干
from abp-next-admin.
好的我研究下
from abp-next-admin.
太久,关闭
from abp-next-admin.
Related Issues (20)
- 通过dotnet build编译报错,使用vs生成正常 HOT 1
- 【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的项目,我先自己好好研究了。。
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.