Creating Public Access Agents, Views, and Forms

Public Access grants users with limited or no access, read or write permissions to design elements set to allow public access. The Access Control List (ACL) manages the access to design elements within the database. Users granted No Access or Depositor accesses do not have the rights to access design elements in the database. In some circumstances you may want to allow certain users access to specific design elements only; you can do so by allowing Public access to those elements. A good example of the use of Public access is allowing others to read your calendar without giving them access to the rest of your mail file. Public access can be designated for forms (as seen in Figure 14.1), views, agents, subforms, pages, outlines, and style sheets. In this section we are going to look at allowing Public access for forms, views, and agents.

Figure 14.1. The Form Properties Security tab and $PublicAccess field.


Follow these steps to assign Public access to a form:

1.
Open the Form Properties and click the Security tab.

2.
Select Available to Public Access Users.

3.
On the form, create a Text, Computed When Composed field.

4.
Name the field $PublicAccess.

5.
In the Programmers Pane type “1”.

6.
Select the Paragraph Hide When tab in the Field Properties and select All Clients under Hide Paragraph From.

Most $ fieldnames are built and used by Domino internally with predefined functionality. Others, designers need to create for their specific functionality. It is important to know which functionalities are viable on the Web, such as the $PublicAccess field.


Now you must create a Public folder or view to display the Public Access documents. To designate Public access in a view, follow these steps:

1.
Open the View Properties and click the Security tab.

2.
Under Public Access select Available to Public Access Users.

Follow these steps to make manually run agents available to Public access users:

1.
Open the Agent Properties and click the Security tab.

2.
Under Public Access select Allow Public Access Users to View and Run This Agent.

After the design elements have been set to allow Public access there is one more step. As shown in Figure 14.2, you must allow Public access to the database through the ACL.

Figure 14.2. Access Control List.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.237.136