Solved

Field Access Restriction

Posted on 2000-02-29
5
196 Views
Last Modified: 2013-12-18
Hi Experts,

how do I restrict the access to a specified field by roles ?

Hope you can help me

Thanks Tom
0
Comment
Question by:woodlott
5 Comments
 
LVL 2

Expert Comment

by:Paebdb
ID: 2568751
Two possibilities:
- hide the field depending on a role
- put the field in a section, there you can control read-write access according to roles
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 2571326
Hi,

Hiding a Field is not a true security to my knowledge.  But to some extent.
Hope paebdb agrees to this.

And make sure that the section you create is a Controlled Section.

-Arun
0
 

Author Comment

by:woodlott
ID: 2571718
Hi,

my problem is, it is a web-application and so I can't use sections. The next problem I have, the field must be shown for the read access.
0
 
LVL 6

Accepted Solution

by:
ghassan99 earned 5 total points
ID: 2573644
Use something like this in the 'hide when true' formula of the field:
@IsNotMember("[role_name]";@UserRoles)
or
@IsMember("[role_name]";@UserRoles)

If the user has (or hasnt) a certain role the field will just be hidden.

-Gus
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 2575959
Hi woodlott,

I will go for ghassan's way of approach.
Keep a computed and an editable in two lines one after the other.

Using the roles, hide one line at a time and show the other.  

When the computed field shows up you are in read mode.

When the editable field show up you are in edit mode.

One of my colleague got a same approach and worked perfectly !

Good Luck !

-Arun
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now