How to use attachment categoriesWhen adding an attachment to a work item, you can assign an attachment category rule to it. Categories are applied when you invoke an attachment-related flow action (typically a local action) such as adding a note or a screen shot. The category signifies the business purpose of the attachment such as expense reports or medical claims.
You configure a category rule to support specific attachment types (note, file, and so on) and restrict users from performing specific operations such as creating, viewing, editing, or deleting the attachment. You can also configure the rule so that the operator adding the attachment can restrict specific work groups from accessing it. Attachment categories can also be used to maintain document versions.
Create the rule and define the attachment types that can use the category. Do the following:
Select the Security tab to configure the security settings. You can restrict user operations on attachments based on privileges and when rules entered in the Access Control List by Privilege and Access Control List by When arrays. The outcome of the evaluations determines whether the user can perform one or more of these operations:
Leave the entire array blank if you do not want to enable security to the category.
You can also configure the rule so that when operators add an attachment, they can specify which work groups can access that attachment regardless of the category rule settings.
In this example, you use a when rule to allow operators in the work item's organization unit the ability to add an attachment. They will not have read, write, or delete privileges.
) is disabled (grayed out) because the category rule restricts that operation
If you use multiple when rules, permission is given only if they all evaluate to true.
Using a combination of when rules and privileges, you can define conditions so that a specific requestor is allowed a specific capability while disallowing another. All when rules must evaluate to true before privileges are evaluated.
Using the above example, add the privilege ReconcileProblemWork in the Privileges Name array and select the Edit and View check boxes. The settings allow the following:
Do not leave all the operation check boxes blank if you enter a when rule or a privilege. Doing so makes the category inaccessible.
You may want to secure access to attachments on work items that are routed to specific work groups. You can set the Enable Attachment Level Security option on the attachment category rule form to enforce this restriction. When adding an attachment in a local action, the operator can optionally specify one or more work groups that can access to the attachment (as defined by the rule's security settings). Operators in excluded work groups are restricted from all operations including add, view, edit, and delete. Attachment-level security takes effect after the attachment is added and the work item is submitted.
To test the option, do the following:
By default, this option does not include the operator's own work group. To enable access, the operator must add it to the work group access list.
You can update the Attachment Category rule form to modify access to existing attachments.
For instance, if you removed the privilege in the Expense Report category rule in Example 2, operators who formerly had read and edit access are then denied those operations when attempting to open an attachment in the category. Similarly, if you deselect the Enable Attachment Level Security option, the restriction is no longer in effect; the category rule applies to operators in all work groups.
Assuming that the category's business purpose is clearly defined (invoice or expense report, for example), users can use categories to identify and maintain multiple document versions as described in the following example:
Users can review any version. Outgoing email activities send only the top/latest version. See About audit trails, case narratives, and attachments.
To associate an attachment category with a case type, use either:
|
attachment, attachment type, work type, sample application |
|
About Access of Role to Object rules
About Attachment Category rules About Privilege rules |