Ticket #105 (closed defect: fixed)
商城6.0版中eyp后台权限控制报错的问题
| Reported by: | huangzhong | Owned by: | huangzhong |
|---|---|---|---|
| Priority: | major | Milestone: | 2012年6.0版本 |
| Component: | 商家后台 | Version: | 6.0 |
| Keywords: | 权限控制,数据库迁移 | Cc: | |
| Due Date: | 30/06/2012 |
Description
- 现象
eyp后台权限控制中的角色、用户删除都报错
- 原因
对auth-client.jar包反编译后发现删除的sql语句是delete table,这个语法在oracle是可以正常使用的,但在postgresql和mysql上是报错的,需要写成delete from table.
- 解决方案
1.修改auth-client.jar
auth-client.jar是一个非常非常古老的权限包,是否有人维护还是一个问题。其中还使用到了oscache,现在公司中普通使用memcached,也偏离了公司技术发展方向。
2.在商城中重写权限控制代码
采用第二种方案
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)