Solved

Field Access Restriction

Posted on 2000-02-29
5
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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