Assigning Users to Roles
Contribute offers two different techniques for linking a specific user to a defined role. The method used depends on whether your site has the User Directory service of CPS enabled. If the User Directory service is not used, then a role is selected when the connection key is generated. Lesson 1 illustrated this technique when the connection key for your development site was created.The other technique (described in this lesson) also employs connection keys, but with several important differences. When the User Directory service is available, roles are assigned to existing users in Contribute. The pool of potential users comes from the connections established in the CPS administrative console, to a file-based directory or directory server such as Lightweight Directory Access Protocol (LDAP). A connection key might be generated at the same time that the role is assigned.Unlike the other, nonUser Directory method, the connection key assigned in this case contains only an address to the CPS server, which maintains the role assignment. This arrangement places the management of users and roles squarely in the hands of the Contribute Administrator. Moreover, under the User Directory service, the connection key is optional. Without a connection key, users can connect to their site by entering connect:myServer in the Contribute browser's Location field, where myServer is the name of the CPS server. Some Administrators might find it easier to deploy Contribute by distributing this bit of information rather than an actual connection key file.In this exercise, you'll experience the entire gamut of user-role administration, as well as the effective differences between the various roles when working in Contribute.
1. | In Contribute, select Edit > Administer Websites > Design_Deploy. When the Administer Website dialog box appears, make sure that you're in the Users and Roles category and choose Add Users.Lesson 10 when CPS was configured. One nameyoursis italicized and inactive, indicating that it has already been assigned a role; the chosen role is shown in parentheses.NoteFor now, you'll choose the user name directly. A little later, you'll learn how to use the search facility. |
2. | In the Add Users dialog box, under the Search Results area, select Pat Publish and click Add. After the selected name appears in the Users To Add list, choose Publisher from the Role for the New Users list. Deselect the "Send connection key e-mail to users" option and click OK. The selected user's name now appears under the appropriate role.![]() |
3. | Click Close to dispense with the Administer Website dialog box. Click HomePages > DesignDeploy to begin work on your site. Click Choose; when the Choose File on Website dialog box appears, expand the maternity folder and select goinghome. Click OK to browse this page. Select File > Actions and note that the Delete Page option is available.![]() Although it's far more common for a page to be updated rather than deleted, sometimes it's necessary to delete a page from the site. Obviously, this is a major responsibility and the capability should be available only to users highly placed in the organization, such as Contribute Administrators.To experience the settings applied to another role, you'll need to log in as a different user. The most effective way to do that is by disabling and re-enabling the CPS connection. |
4. | Choose Edit > My Connections. In the My Connections dialog box, select thePublishingServices server entry and click Disable. When you see the red slash through both the Publish ing Services server and the Design_Deploy site, click Enable. In the Log in to Publishing Services dialog box, enter the settings previously established for user PatPublish; enter ppublish in the Username field, and publish in the Password field. Select theRemember Password option and click OK. After the Role in the My Connections dialog box changes to Publisher, click Close.Lesson 12, you can send your page to any individual user assigned a role, or to all members of a given role. |