Each Outline Entry contains a Hide When Section, and you can definitely make use of the @UserRoles Formula to determine if the Outline Entry should be visible or not.
However, if a user knows how to hold CTRL+SHIFT and then click on the Top Menu "View\Go To", they'll be able to access the view that way.
I don't see this been too risky for what you want to achieve, unless it's sensitive data that's been shown inside the views?
I'm using Lotus Notes 8.5.3 and I was able to hide button when using formula like this
!@UserAccess(@DbName)="6"
I did not succeed with @UserRoles any more so I'm using @Useraccess to check if it's manager. I also found out that I must compare value as string not number so.
发布评论
评论(4)
已经很长时间了,但这里是如何使用公式语言隐藏轮廓的:
选择“隐藏时间”选项并添加以下代码行:
It's been a long time, but here how it's done for hiding outlines with Formula language:
Select 'Hide When' option and add this line of code:
在视图属性的安全部分中,您可以指定使用视图的权限。
这些权限可以分配给角色、组或个人。
当用户无法使用该视图时,大纲条目将被隐藏。
注意:必须让服务器、服务器组和数据库管理器能够访问这些视图:别忘了你。
In the Security section of the properties of view, you can specify the rights to use the view.
These rights can be assigned to roles, groups or individuals.
When the view is not available for a user, the outline entry is hidden.
Attention : must be put the server, the server group and the database manager to have access to these views: Do not forget you.
每个大纲条目都包含一个隐藏时间部分,您绝对可以使用@UserRoles 公式来确定大纲条目是否可见。
但是,如果用户知道如何按住 CTRL+SHIFT,然后单击顶部菜单“查看\转到”,他们将能够以这种方式访问视图。
我不认为这对于您想要实现的目标来说风险太大,除非视图中显示的是敏感数据?
Each Outline Entry contains a Hide When Section, and you can definitely make use of the @UserRoles Formula to determine if the Outline Entry should be visible or not.
However, if a user knows how to hold CTRL+SHIFT and then click on the Top Menu "View\Go To", they'll be able to access the view that way.
I don't see this been too risky for what you want to achieve, unless it's sensitive data that's been shown inside the views?
我正在使用 Lotus Notes 8.5.3,并且在使用这样的公式时能够隐藏按钮
!@UserAccess(@DbName)="6"
我没有再成功使用 @UserRoles,所以我使用 @Useraccess 来检查如果是经理的话。我还发现我必须将值作为字符串而不是数字进行比较。
I'm using Lotus Notes 8.5.3 and I was able to hide button when using formula like this
!@UserAccess(@DbName)="6"
I did not succeed with @UserRoles any more so I'm using @Useraccess to check if it's manager. I also found out that I must compare value as string not number so.