Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库role_resource没有同步创建 #33

Closed
cloorc opened this issue Sep 21, 2015 · 1 comment
Closed

数据库role_resource没有同步创建 #33

cloorc opened this issue Sep 21, 2015 · 1 comment

Comments

@cloorc
Copy link

cloorc commented Sep 21, 2015

目前sql脚本没有自动生成role_resource表,手动创建该表以后提示没有权限访问资源。目前初步分析是这样,还没有继续往下分析。以下是请求log:
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,684 [http-bio-8080-exec-2] INFO com.baidu.dsp.common.interceptor.login.LoginInterceptor - /api/app
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,688 [http-bio-8080-exec-2] INFO com.baidu.disconf.web.service.roleres.service.impl.RoleResourceMgrImpl - Querying role_resource table to get all...
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,688 [http-bio-8080-exec-2] INFO com.baidu.dsp.common.dao.AbstractDao - ----null disconf.role_resource
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,688 [http-bio-8080-exec-2] INFO com.baidu.dsp.common.dao.AbstractDao - select method_mask,role_id,update_time,role_res_id,url_description,url_pattern from disconf.role_resource []
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,701 [http-bio-8080-exec-2] WARN com.baidu.dsp.common.handler.MyExceptionHandler - /api/app ExceptionHandler FOUND. com.baidu.dsp.common.exception.AccessDeniedException null
ca53fa30-0ed0-4632-a858-8fd11a41dd9a 2015-09-21 16:01:48,702 [http-bio-8080-exec-2] WARN com.baidu.dsp.common.handler.MyExceptionHandler - details: Access Denied: /api/app/, method:POST, UserId:1, RoleId:1

@knightliao
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants