工作流与数据权限结合

by wangsf 2013.9.29 10:07

注:脚本执行有风险,对于客户正式环境请在研发指导下执行。

   现在很多时候,在工作流范畴内有权限要求,代码已经支持,在公式编辑器画面的公共扩展函数中增加了,是否提交人,是否审核人,是否终审人,是否发起人的函数,可以在设置权限时调用这些函数,比如只有审核的人才能弃审,设置如下

1、在数据权限画面,建立一个动态视图,其条件设置为[not(GetCurrentActionName()=='弃审' and   WF_IsAuditor(Ship.FlowInstance.ID,GetCurrentUserID())==false )],并关联上对应数据权限即可。

2、再对用户或者角色进行相应数据权限即可。

 

Tags:

评论 (4) -

jasa desain interior tangerang 美国 wrote at 2016/4/24 20:32:55 #

Hi there just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Opera. I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I'd post to let you know. The design look great though! Hope you get the problem solved soon. Cheers

breast 美国 wrote at 2016/7/27 0:01:18 #

Piece of writing writing is also a fun, if you be familiar with then you can write or else it is complex to write.

preloaded seo vps 美国 wrote at 2017/1/23 8:33:50 #

Hello everyone, it's my first go to see at this web site, and paragraph is actually fruitful for me, keep up posting these posts.

blackhat seo vps 美国 wrote at 2017/1/24 6:45:39 #

It's going to be finish of mine day, except before finish I am reading this impressive article to increase my experience.

添加评论



biuquote
微笑得意调皮害羞酷大笑惊讶发呆喜欢可怜尴尬闭嘴噘嘴皱眉伤心抓狂呕吐坏笑漫骂发怒
Loading


RecentComments

评论 RSS

Statistics

989 篇文章
0 个单页
694650 条评论
11 次评分
409325 次访问
访问统计开始于 2019年12月15日
平均日访问 6201 次
当前 95 人在线