Solved

Restrict ability to edit a field

Posted on 2003-10-29
13
220 Views
Last Modified: 2013-12-18
I have several text fields on a form and I want to restrict who can edit the fields.  I want all users to be able to see the fields, but only database managers can edit the contents.

I see how to hide the field based on certain criteria, but that is not what I want.  Everybody has to be able to see the contents.

What is the best way to do this?

Thanks.
0
Comment
Question by:BECKETBM
  • 4
  • 3
  • 3
  • +2
13 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9643145
Use Controlled Access section.

Include all the fields into the controlled access section and give the formula for the section as who can edit the document.

eg: "[MGRRole]"

Where MGRRole is enabled for the managers who can edit the document.

~Hemanth
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9643613
All fields ?

Give all your users Author access to the database, and use an Authors field to further give (edit) access to certain users.
You can do that using a role.

So add a field, type Authors, computed when composed, with formula "[MGRRole]".

If you want to protect only a couple of fields, you have several options.

You can use the Access Controlled section like hemanth suggest, but you must be aware that that is by NO MEANS as safe solution.  Everybody with Author rights for the document, can still change the values (albeit not directly, but through agents, smart icons, ...).

Better (safer) alternatives include :
- create separate documents (eg. responses) to store the protected values, and show them in the parent document through  computed for display fields with @dblookup
- use the Field Security Options, must have Editor access to use.  This implies giving the managers Editor access to the database - they would be able to edit ALL documents they can see, so this maybe not what you want

cheers,

Tom
0
 

Author Comment

by:BECKETBM
ID: 9644248
Thanks for your suggestions everbody!

I have a follow-up.  I have tried using the controlled access section, which works fine, except that I can not seem to get the section to apply to more than one row in a table.  The table is used to align the various fields on the form; 2 columns, one for the label and one for the field and then 6 rows.

Can a controlled access section apply accros an entire table?

Thanks.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9644431
Yes, it can accomodate whole para or whole table
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9644434
Put the table in the section, not the section in the table;
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9648360
What they both me is:
1) Select the entire table, from above the table to below the teble (add a few blank lines in both paces to make sure you get this right, you can select some of the extra blank lines)
2) WIth all of the tabel selected, Create -> Section -> COntrolled Access Section

Note: you can hide the "section header" for a more natural look.
0
 

Author Comment

by:BECKETBM
ID: 9694142
What if I just want the section to apply to a part of a table, just a few rows and columns?  I am only able to insert a controlled access section in each individual section.  When I aelect multiple rows or columns it does not seem possible to add a section.
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9694314
You cannot do that. Rather you can select individual cells and enable controlled access section but that is too messy.. Can you split the table into two so that one has controlled edits and other doesn't ?
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 125 total points
ID: 9698408
No can do directly. But you can nest table (create one table inside anotehr), for a similar effect.
0
 

Author Comment

by:BECKETBM
ID: 9701424
qwaletee:

In one of your earlier replies you said it is possible to hide the section header for a more 'natural' look.  How do you do this?

I have removed the title text for the section but the space that is reserved for the title text is still there and it looks like there is an additional line in the table.

Also, when I enter the application as a user, I can still expand and collapse the section, thereby hiding the fields in the section.  I don't want the user to be able to do this.  I want the section always expanded.

Any ideas?

Thanks.
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9701513
Goto property of section and select auto-expand for all choices and both editors and non-editors. THen goto hide tab at last and select all print/edit/read checkboxes.. so that section header is hidden and is always expanded.
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9709055
Hemantha's answer is what I meant, and solved both problems -- there is no appearance of a section,a nd the user can't collapse it.
0
 

Expert Comment

by:blossoming_flower
ID: 10288870
can anyone help....I have a section containing a table and it will not work via the web. Are sections actually compatible with the web. When the twisty is clicked, it expands (at least the expand graphic appears) but shows nothing.

Anthea
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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.
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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