Simple Locking Option

Posted on 2011-05-12
Last Modified: 2013-12-18
Have a form that I need to lock from editing. What I need is for the general users that they do the data entry and then the can edit the form when it is in either a "Candidate" or "Data Gathering" status. Once it is past that status in any of the subsequent statuses, it would be uneditable to the user. At the same time I need those with an ADMIN role to be able to edit at any time.

I know I can do a Computed Text field for each for every editable field, applying a hide for each editable field and the opposing hide for the Computed Text field that will prevent them from editing. But I was hoping that maybe I could do an Author field of some type that would allow entry and editing only in the first couple states, but then lock it from the users. While still allowing a read only access.
Question by:jforget1
    LVL 10

    Accepted Solution

    You could use a couple of authors field that are populated by default or modified at status changes.

    Create a default Authors field with your Admin Role in it so that documents will always be accessible.

    Have second authors field which by default has Role that everyone is a member of.

    Depending how status is changed edit the second Authors field to remove the default role and and any specific users that still can edit the document.
    An authors field can be computed so you could have the default field value added if not in the specific status you require.

    LVL 46

    Expert Comment

    by:Sjef Bosman
    Attention: the (multi-value) content of an Authors-field must be roles or names, a role should be "[Role]" and a name should have the full hierarchical name, as in "CN=John Doe/O=ACME".

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    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…
    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.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now