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

Hiding a Subarea component in the site map

As we saw earlier, the Subarea component has a privilege property. It defines whether to show or hide the Subarea based on privileges the user has through the security roles assigned. Let us try to understand this with an example as well. Suppose we want to show the Open Leads Subarea we just added to only those users who have a Create privilege on the Lead entity. To define this, let us go back to the Properties tab of the Open Leads Subarea in Site Map Designer. There, we need to go to Privileges inside the Advanced section. Inside the Entity drop-down, we can select the Lead entity and click on the + (plus) button to add the record. We will leave all the checkboxes unchecked, except Create:

Save and publish the changes. Now, let us log in with the user that has only the Salesperson security role assigned. Here, we have updated the security role and have set None for Create Privilege on Lead Entity; that is, the first option that we see in the following screenshot:

The users who do not have the Create privilege on the Lead record, will not be able to see the Open Leads Subarea in their site map. 

主站蜘蛛池模板: 嵊泗县| 香港| 大连市| 丽江市| 随州市| 东阿县| 佛坪县| 常山县| 咸宁市| 岚皋县| 邯郸县| 宁国市| 肥东县| 平阳县| 梅河口市| 永安市| 镶黄旗| 理塘县| 汉川市| 周宁县| 天台县| 含山县| 阿拉善右旗| 河间市| 永寿县| 滁州市| 神农架林区| 南丰县| 阿图什市| 铜川市| 龙岩市| 平远县| 甘肃省| 曲水县| 舟曲县| 邓州市| 枣庄市| 自治县| 获嘉县| 黑山县| 东海县|