Release 10.1A: OpenEdge Development:
Progress Dynamics Basic Development

> ## Creating menu security allocations

> Suppose you want to restrict access to the Security menu in the Progress Dynamics Administration menu for a user named Anthony. You might need to identify the menu structure before you can create an allocation.

> | To determine the name of a target menu structure:

> 1. Open the Toolbar and Menu Designer tool, then choose the Lookup icon in the toolbar, as shown:

> 2. Because you are looking for a menu structure, or band, select the Bands tab. The band you are looking for is a top-level menu item that acts as the parent for all the security items. This is a SubMenu band:

> 3. Open the SubMenu node in the TreeView and locate the entry with the description Security Options.

> 4. Select it. Its key code displays on the right, along with all the containers where it is used, as shown:

> In this case, the menu structure identifier, or Band Code, is `ICFAF-Secu`, and the one place where it is used is in the container `afallmencw`. This is the logical object name of the Administration window. If you need more information about a logical object, such as `afallmencw`, open it using the Open Object button in the AppBuilder, or you can examine it in the Repository Maintenance tool.

> | To apply security to a menu structure:

> 1. Open the Security allocation node and the Menu structures subnode, as shown:

> 2. Specify the user or group and login company for this allocation. For the example, define the allocation for the user name Anthony and Login company <All>.

> 3. Choose the Refresh button to see a list of menu structures, or use the Filter tab to identify it, as shown:

> 4. Select the ICFAF-Secu row in the browser and click to define the allocation.

> 5. Click Save:

> 6. To see the effects of your change, exit Dynamics Development.

> 7. Restart Dynamics Development and log in as the user Anthony.

> 8. Choose Tools Administration. You see the Administration window as Anthony will see it, without the Security structure, as shown:

> 9. Repeat Steps 6 through 8, logging in as Admin. Notice the normal Administration window with the Security menu, as shown:

> This section can use the Administration window as an example of security settings because this window, like most Progress Dynamics framework tools, is implemented in the framework itself.

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