壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 422|回复: 1

关于TM的权限问题

[复制链接]
发表于 2012/3/18 17:17:58 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
我有一个疑问,就是TM中的custom views,如下图
attachimg.gif 111229151081a57279d0f18c48.jpg

假设如果有,20个custom views 去过滤各个机构,这样的cube又有50个,怎么办?
总不能一个一个添加吧,有没有批量法子?呵呵。
 楼主| 发表于 2012/3/18 17:18:28 | 显示全部楼层
OpenMDL "E:\cube_mdl\fs_15_02.mdl"   --   没有权限的MDL
SecurityNameSpaceMake "dbAuth" SecurityNamespaceCAMID 'CAMID ("dbAuth")'
ViewMake "43000600~UserView" Dimension "机构" ViewSecurity "43000600~CustomView" Apex "43000600"
CustomViewMake "43000600~CustomView" DimensionView "机构" "43000600~UserView"
SecurityObjectMake 'CAMID("dbAuth:r:43000600")' SecurityNamespace "dbAuth" SecurityObjectDisplayName "43000600" SecurityObjectType SecurityType_Role CustomViewList "43000600~CustomView" EndList
ViewMake "51000600~UserView" Dimension "机构" ViewSecurity "51000600~CustomView" Apex "51000600"
CustomViewMake "51000600~CustomView" DimensionView "机构" "51000600~UserView"
SecurityObjectMake 'CAMID("dbAuth:r:51000600")' SecurityNamespace "dbAuth" SecurityObjectDisplayName "51000600" SecurityObjectType SecurityType_Role CustomViewList "51000600~CustomView" EndList
ViewMake "8244444~UserView" Dimension "机构" ViewSecurity "8244444~CustomView" Apex "8244444"
CustomViewMake "8244444~CustomView" DimensionView "机构" "8244444~UserView"
SecurityObjectMake 'CAMID("dbAuth:r:8244444")' SecurityNamespace "dbAuth" SecurityObjectDisplayName "8244444" SecurityObjectType SecurityType_Role CustomViewList "8244444~CustomView" EndList
PowerCubeCustomViewListUpdate Cube "fs_15_02" StartList "43000600~CustomView" "51000600~CustomView" "8244444~CustomView"  EndList   -- 中间权限部分
SaveMDL "E:\cube_mdl\20091106_197\fs_15_02.mdl"  --  刷过权限的mdl保存位置

把上面的文本存成mdl后缀, 用transformer打开一下就行了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 11:05 , Processed in 0.012178 second(s), 15 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表