<boardpermission>

You can also add a Board Permission component to a board in DesignStudio.

Placed around anything in a board view, it allows or denies access based on whether the board permission has been assigned to the group. Use this tag to set group permissions for actions, such as adding or updating a record. Only users who belong to groups that are granted that permission can perform the action.

For example, an "edit" permission can be applied to an Edit button in the board by placing the <viewlink> button tag inside the <boardpermission> tag. Only groups that are assigned the board permission can access the view link within the <boardpermission> tag and have the ability to edit the record.

A board's <boardpermission> tags appear as permission options within the group administration page. An option must be selected for that group to have permission to use that feature.

<boardpermission> attribute
Attribute Allowed Values Requirements Description
name %boardpermissionname   Board permission name that will appear in the board permission section of the group assignment.

Examples

Using the name attribute:

Copy Code
<boardpermission name="Edit">
<viewlink name="Input" type="button"/>Edit</viewlink>
</boardpermission>

The board permission tag also has a sub-tag called <notapplied> that renders its contents when the board permission has not been applied. In the example below, a Delete button would display when a user has been granted this board permission. However, if the user has not been granted the permission, the button will not render. Instead, the text specified for <notapplied> is displayed.

Copy Code
<boardpermission name="delete">
<viewlink name="delete" type="button"/>Delete</viewlink>
<notapplied>
You do not have permission to delete.
<notapplied>
</boardpermission>