Release 10.1A: OpenEdge Development:
Progress Dynamics Basic Development

> ## Restricting access to folder tabs

> The example below creates action security for a folder tab in the sample application.

> | To apply action security:

> 1. Open the action Security maintenance node and the Actions subnode.

> 2. Add an action for the code Orders/Lines. If you built the OpenEdge Development: Progress Dynamics Administration application just as instructed, this is the label of the second tab in the Customer Maintenance window, `custfoldwin`. Otherwise, you should use whatever the security token is, or else define a similar restriction for some other tab folder available to you.

> Note: When you are assembling windows in the Container Builder, there is a field where you can define a Security action for a tab folder page. Even though it is not actually displayed, the action is initialized to be the same as the tab label, just as for menu items. Use this default unless there is a need to define something different.

> 3. Enter Order/Lines in the Action Code field, then enter a description.

> 4. Select the Security Structure tab to see the default structure for the new action.

> 5. Open the Security allocation node and the Actions subnode.

> 6. Select user Anthony and click Refresh.

> 7. Double-click on the Restricted field for the new OrdersLines entry, then Save it. Note that these entries are identified and sorted by their description, not by the code itself:

> 8. Re-logon as Anthony.

> 9. Launch the Customer browse window that leads to the folder window, as shown:

> 10. In the Customer Selection window, double-click on a record to bring up the maintenance folder window, as shown:

> When the maintenance window appears, you see that the Orders/Lines tab is disabled, as shown:

> If the tab for Page 1 was disabled, the framework would automatically suppress that page and select the first available (enabled) page of the folder. If every tab in a folder is disabled for a user, then it will not be brought up at all.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095