官术网_书友最值得收藏!

Working with security roles and permissions

Security roles and permission can be configured as part of the same solution package. This allows us to port these configurations from one environment to another. Be aware though that there are some limitations in the use of security roles as part of a solution. One of the most important is a limitation where roles can only be configured at a top business unit when they are saved as part of a solution package.

Getting ready

We will be working within the same solution package we created earlier.

How to do it...

In order to add a new security role we must perform the following steps:

  1. Open the existing solution package.
  2. Navigate to the Security Roles view.
    How to do it...
  3. To create a completely new role, select New. A better approach is to modify one of the existing roles by selecting Add Existing, but for the purpose of this recipe we will create a new role. Click on New.
  4. Give the role a name and make the necessary modifications. Click Save and Close. The new role is added as part of the solution.
    How to do it...
  5. With this new role created, we can go back to the custom Country form we previously created. Open the form and click on Assign Security Roles.
  6. Deselect the selected security roles, and select the newly created security role.
    How to do it...
  7. Click on OK, save changes, and publish all customizations.

How it works...

At this point we have a new security role added to the solution package. Additionally, we have configured the custom Country form to be visible only by users that are assigned the newly created security role.

See also

主站蜘蛛池模板: 吐鲁番市| 延川县| 濮阳市| 天台县| 翁源县| 准格尔旗| 新乡市| 苏尼特右旗| 西和县| 邯郸县| 天门市| 望城县| 田阳县| 临湘市| 淮滨县| 彭州市| 扬州市| 隆林| 汉沽区| 宁武县| 天气| 溆浦县| 汝阳县| 习水县| 安丘市| 新干县| 长子县| 哈尔滨市| 攀枝花市| 肥城市| 剑河县| 资阳市| 岫岩| 尼勒克县| 汽车| 乌拉特中旗| 灵璧县| 奉贤区| 宁化县| 黑山县| 江达县|