You can create user permissions for commerce rules by following the procedure listed below. Note the following about defining permissions:
You can define more than one permission for each user. You can give a single user permission to view several different clips, for example. You must define each permission separately, though, using the same user name each time.
Each permission is associated with a single commerce rule. Typically, different commerce rules govern access to different directories or broadcasts. If you want to give a user permission to view one on-demand content directory and one broadcast, for example, you define one permission on the commerce rule governing on-demand clip access, and another permission on the commerce rule governing live broadcasts.
The user name must first be defined in the database used by the commerce rule. For instructions about adding and browsing user names, see "Users and Passwords".
1. Click Security>Commerce.
2. Select the appropriate commerce rule in the Commerce Rules box.
3. Click the Grant User Permission link.
4. In the pop-up dialog, enter the user's name in the User Name box.
5. For Path Type, select Directory or File depending on the type of permission you want to add. For more information, see "Permission Types".
6. The Path box indicates the directory or file that the viewer can access. It initially lists the protected path associated with the selected commerce rule. For example, if you're adding permissions to the default commerce rule for on-demand content (SecureUserContent), the path looks like this:
secure/
a. If you've chosen directory-level access, add to the protected path the subdirectory the viewer can access, as in the following:
secure/confidential
Note: The viewer can view clips in all subdirectories of the selected path.
b. If you've selected file-level access, enter the subdirectory, if necessary, and the clip file name, as shown here:
secure/confidential/report.rm
7. The Access Type drop-down list corresponds to permission types described in "Permission Access Types".
a. Set the menu to Event to allow unlimited access to the content.
b. If you choose Calendar, set an expiration date in this format:
mm/dd/yyyy:hh:mm:ss
c. For Duration, set in seconds the total amount of viewing time allowed.
d. Choose Credit to log the viewer's total access time in the access logs.
8. Click OK.