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

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. 

主站蜘蛛池模板: 郎溪县| 常州市| 闽侯县| 鸡东县| 霞浦县| 锡林浩特市| 东阿县| 湖口县| 慈溪市| 吉木乃县| 汉源县| 阿拉善盟| 西宁市| 绩溪县| 武清区| 登封市| 揭阳市| 鄂托克前旗| 罗江县| 铁力市| 恩施市| 育儿| 永泰县| 高唐县| 六枝特区| 乌鲁木齐市| 哈尔滨市| 东莞市| 景德镇市| 大足县| 基隆市| 玉溪市| 灵武市| 黄龙县| 伊宁市| 克拉玛依市| 清水县| 伊通| 夏河县| 玛纳斯县| 安龙县|