Solved

HELP!! Creating a Document Reader Access List Via the Web?

Posted on 1998-12-21
5
222 Views
Last Modified: 2013-12-18
I have a database with two levels of security. There are select documents that can be viewed by anyone and some that require a login to view. I need to give logged in users who are accessing the database via the web the ability to create secure documents (i.e. the ones that require a login to view). Any ideas on how I can do this?

I have tried making a readers field but it shows up as a text field on the web. No matter what I type in, the behavior does not work as desired. I have also tried making it a keyword list and entering my own values but that does not seem to work either.
0
Comment
Question by:emorey
[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
 

Expert Comment

by:willislt
ID: 1117814
You cannot allow both authenticated and unauthenticated users
into your Notes database via a web browser. It is either one or
the other. Either you allow the ACL group "Anonymous" some kind
of access or you deny anonymous users any access, in which case
you are asking all users to authenticate.
0
 

Author Comment

by:emorey
ID: 1117815
Actually, I have figured out how to allow both authenticated and unauthenticated users into my database via a web browser.

My question is how to allow the logged in user to specify a reader list when using the form on the web.
0
 
LVL 1

Expert Comment

by:bbangerter
ID: 1117816
I've never done this, but try the following.  Write a WebQuerySave agent for the newly
created documents using LotusScript.

Get a NotesItem to your 'Readers' field, and set the IsReaders property to True.

I don't work with the NotesItem object very often, so I don't know if you can just call the Documents save method at that point, or if you need to call the NotesItem's CopyItemToDocument method and then the documents save method - but it should be easy enough to try both and see what works.

0
 
LVL 4

Accepted Solution

by:
stamp earned 50 total points
ID: 1117817
To make it simple define two groups for web access in your name.nsf. Name one group WebEditorGroup and other WebReaderGroup. Put person names for content provider into WebEditorGroup and those who have only read access to secret documents into WebReaderGroup. Give content provider group author access and check "Create documents" field for them.
Create two roles in ACL "Roles" dialog. Name them: WebReader and WebEditor.
Check this role [WebReader] for your web accessing reader which have to see secret documents. For content provider check [WebEditor] role.
 
Create one form called WebNote with a field type "Readers". Give it a name and hide it always. As default value type this formula: "[WebReader]":"[WebEditor]"
All documents created with this form can not be seen by nobody who do not have the role WebReader or WebEditor or both roles. Even with manager access and native Notes Client you can not see documents created with this form.

For content provider I would make a pasted picture in the form called $$ViewTemplateDefault, mark the picture, select "Create / Hotspot / Action Hotspot..." , and give it this command: @Command([Compose];"WebNote")
Hide this hotspot with this "hide when" formula: !@Contains(@UserRoles;"[WebEditor]")
 
So, now all documents created with WebNote form can only be read by persons connected to WebReaderGroup or WebEditorGroup.

If you have ACL  -Default- access set to Reader, then are all documents in this database, created with a form without the readers field above, free accessible for all and anonymous web users.

0
 
LVL 4

Expert Comment

by:stamp
ID: 1117818
One more thing: in the Basic property tab for your Readers field check for this two things
- "Choices:"  set to: "Use Access Control List for choices"
- check "Allow multi-values" box

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
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.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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