LoginSignup
0
0

More than 3 years have passed since last update.

Salesforce Trailhead 開発者初級 > データセキュリティ > 項目へのアクセスの制御(4) 課題やりかた

Last updated at Posted at 2020-09-15

Trailheadのchallenge課題のやりかた

課題が英語のため、訳語の問題もありなかなかネットに回答がなかったため載せてみる。

学習内容 - 項目へのアクセスの制御

  • 項目レベルセキュリティの変更
  • プロファイルを使用した項目アクセスの制限
  • 権限セットを使用した項目アクセスの追加

前提条件

playground内の言語設定を英語に設定している

課題

Create a profile and permission set to properly handle field access

All the sales team members have access to create, edit, and view accounts and contacts, but NOT delete them. Also, only select senior sales members should be able to see or edit the account Rating field. For this challenge, assume they have the same object and field permissions of the Standard User profile. For this challenge you'll use both profiles and permission sets to control object-level permissions.

Challenge Requirements
  • Clone the Standard User profile with the following settings: Use existing profile: Standard User Profile Name: Sales
  • Control access for the Sales profile: Object Permissions: Accounts (Read, Create, Edit) Object Permissions: Contacts (Read, Create, Edit) Field Permissions: Rating on the Account object (remove Read Access and Edit Access) All other permissions from the Standard User profile remain as is
  • Create a new permission set with the following settings: Label: Rating API Name: Rating User License: Salesforce Give the Rating permission set access to account Rating field: Read Access, Edit Access

手順

  • playgroudを起動し、設定に進む

  • Clone the Standard User profile with the following settings
    users > profiles にいき、Standard Userをクリック

スクリーンショット 2020-09-15 10.15.57.png

検索欄、右のCloneをクリック
スクリーンショット 2020-09-15 10.17.32.png

Profile NameにSalesを記入し完了
スクリーンショット 2020-09-15 10.18.16.png

  • Control access for the Sales profile

スクリーンショット 2020-09-15 10.24.07.png
先ほど作った、salesのprofileをクリック。

スクリーンショット 2020-09-15 10.26.18.png
Apps>Object Settingをクリック

AccountsとContactsをそれぞれEDITをクリックし、(Read, Create, Edit)権限のチェックをつけ、SAVEする
スクリーンショット 2020-09-15 11.03.35.png

Field Permissions: Rating on the Account object (remove Read Access and Edit Access) のところは
そのままObject Permissions の下 Field Permissions にあるRatingのチェックを外す
スクリーンショット 2020-09-15 10.35.36.png

  • Create a new permission set with the following settings

users > Permission Sets へ移動し真ん中左にある New のボタンをクリック
スクリーンショット 2020-09-15 10.40.17.png

それぞれRatingと記入し、Licenseを選択しSAVEし完了
スクリーンショット 2020-09-15 10.42.36.png

  • Give the Rating permission set access to account Rating field: Read Access, Edit Access Permission Setsから先ほど作ったRatingを選択 スクリーンショット 2020-09-15 10.47.25.png

Objects SettingsからAccountsを選択、EDITボタンをクリックして、Read Access, Edit Accessのチェックをつける。したらSAVE.
スクリーンショット 2020-09-15 10.56.54.png

完了!

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0