0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

User Management

Last updated at Posted at 2024-02-09

終わったことになっているけど、開くと完了してない??何で??

image.png

この環境に設定がある otsubo@resilient-unicorn-r5lpu1.com

Add New Users

image.png

We can’t find a user with 'testuser' in the Username and testuser as the Alias.

image.png

ユーザ名のフォーマットが違うかも

Salesforceライセンスを使っている他のユーザは無効にする

image.png

Control What Your Users Can Access

I had to log out and log in again for it to work.

クイズから変わった?

何もしないで検証ボタンをクリックすると

We can’t find the ‘Account Access’ permission set with the API named 'Account_Access'.

以下を設定した後

ここではユーザを割り当てていない

Create a permission set:

  • Label: Account Access
  • API Name: Account_Access
  • Add a description (We won’t check for this.)
  • License: -None-
  • Enable Account Object Permissions: Read, Create, Edit, Delete, View All, and Modify All
  • Enable Account Field Permissions: Read Access and Edit Access for all fields

We can’t find the ‘Sales User’ permission set group with the API name 'Sales_User'.

こっち側でユーザを割り当てている?

Create a permission set group and assign it to the user you created:

  • Label: Sales User
  • API Name: Sales_User
  • Include the Account Access permission set that you created
  • Create a muting permission set in the permission set group and name it Sales User Muted (API Name: Sales_User_Muted)
  • Mute the Delete, View All, and Modify All object permissions
  • Mute Edit Access for the Annual Revenue and Customer Priority fields
  • Assign the permission set group to the user you created in the previous unit

前の単元で作成したユーザーに権限セット グループを割り当てます。

We can’t find the ‘Account Access’ permission set included in the ‘Sales User’ permission set group.

保存できていなかった。

image.png

We can't find the correct organization-wide default sharing setting for Account and Contract.

以下まで設定した

Configure organization-wide defaults:

  • Account and Contract: Visible but not editable for all users.

We can't find the correct organization-wide default sharing setting for Opportunity.

これを設定したら合格

  • Opportunity: Visible only to record owners and users higher in the role hierarchy.

image.png


image.png

解答例

image.png

We can’t find the ‘Sales User’ permission set group assigned to the ‘testuser’ user.

I forgot to mention that I created a testuser after error, but still was getting the error. i recreated the user (changed roles, access), now it worked!

エラー後に testuser を作成したことを書き忘れていましたが、それでもエラーが発生していました。ユーザーを再作成しました (ロール、アクセスを変更しました)。うまくいきました。

Did you follow the steps below to create a user?

If yes, make sure you are using the correct playground.

https://trailhead.salesforce.com/content/learn/modules/lex_implementation_user_setup_mgmt/lex_implementation_user_setup_mgmt_adding_users-hoc

Create a new user:

  • Open Setup in the org
  • In the Quick Find box, enter users and then select Users
  • Click New User
  • Enter the first name and last name
  • For Alias, enter testuser
  • For Email, enter your email address
  • For Username, enter testuser@example.com. (Usernames must be unique across all Salesforce orgs.)
  • For License, select Salesforce
  • For Profile, select Minimum Access - Salesforce
  • For Role, select Western Sales Team
  • Click Save

I did not use 'For Alias, enter testuser'

image.png

Try changing to oma

oma_testuser_20241026@example.com

We can’t find the correct object permissions for account in the ‘Account Access’ permission set.

image.png

Annual Revenue or Customer Priority fields are not found

SETUP --> Permission Set Groups --> Sales User --> Muting Permission Set in Group --> new

image.png

We can't find the correct organization-wide default sharing setting for Opportunity.

Please check the settings below

  • Opportunity: Visible only to record owners and users higher in the role hierarchy.

image.png

There may be some cache left.

Please try logging out of the playground and logging in again.

We can’t find the correct object permissions for account in the ‘Sales User’ permission set group.

It looks like you created Sales User Muted as a permission set rather than a muting permission set. Confirm you created the Account Access permission set with the requested permissions, then add it to a permission set group named Sales User Muted and mute the requested permissions.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUbpSAG

説明のところを設定してみたから?

image.png

I think the content you are setting is just an explanation part.

The following settings are actually checked.

Chatter-free user licenses cannot be used because access rights to standard objects are required.
image.png

FLSの設定でプロファイルでなくて、権限セットが表示されている

image.png

Do you have the following settings enabled?
If in doubt, try a new playground

Set Field-Level Security for a Field on Permission Sets Instead of Profiles During Field Creation (Beta)
https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_fls_permsets.htm&release=240&type=5

Please check if this setting is disabled.

SETUP --> User Management Settings

image.png

We can’t find the ‘Sales User Muted’ muting permission set related to the ‘Sales User’ permission set group.

正しいプレイグラウンドに対してチャレンジをチェックしていることを確認していただけますか。

Could you please make sure that you are checking challenge against correct Playground.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAkTTSA1

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvoOFSAZ

The best solution for me was creating a new playground to restart the module.

Control what Your Users have Access ライセンスの違いでアサインできない

image.png

I've been able to assign the permission set group to Anna now. I deleted the permission set and created a new one and then the assignment was successful.

これで、権限セット グループを Anna に割り当てることができました。権限セットを削除して新しい権限セットを作成したところ、割り当ては成功しました。

We can't find the correct object permissions for account in the "Sales User" permission set group.

名前の重複 Sales_User_Muted

image.png

以下の方法でAPI名を変更すれば問題解決できるかも...
MutingPermissionSet

Run the following SOQL in the query editor of the developer console.
Record your ID.

select Id,DeveloperName,MasterLabel from MutingPermissionSet

The Id starting from 0QM is MutingPermissionSet

Please replace the bold part with your ID

https://<your domain>/lightning/setup/PermSetGroups/page?address=%2F0QMIg000000k9bc

Change API name.

image.png

We can't find that the Sales User permission set group mutes edit access for the annual revenue and customer priority fields.

For all those stuck on this you have to click on the Edit Access Muted check box at the very top to highlight all that will enable the read access to stay unmuted.

This was a very poorly written challenge lol.

We can’t find the ‘Account Access’ permission set with the API named 'Account_Access'.

image.png

Remove underscore from the permission set label

Account_Access --> Account Access

image.png

There may be some cache left.

Please try logging out of the playground and logging in again.

0
0
0

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?