Skip to main content

#Permissionset14 diskutieren mit

#Salesforce #Salesforce Admin #Permissionset #Security How would you troubleshoot a user who cannot access a specific object or field, using Profiles, Permission Sets, Permission Set Groups, Field-Level Security, and Object Permissions?

2 Antworten
  1. 18. Okt., 13:05

    Hi @M Anjil Reddy Good question! Profiles provide baseline user access, Permission Sets grant additional permissions, and Permission Set Groups combine multiple permission sets for easier access management.

    If a user cannot access an object or field, I would check:

    1. Profile: Verify the user's assigned profile.
    2. Object Permissions: Check Read, Create, Edit, and Delete access.
    3. Permission Sets: Verify assigned permissions.
    4. Permission Set Groups: Check group assignments and muting permissions.
    5. Field-Level Security: Confirm field Read/Edit access.
    6. Record Access: Check OWD, sharing rules, and role hierarchy if the object is accessible but records are not.

    My suggestion: Use the User Access Summary to identify effective permissions before making changes.

    📘 Salesforce Security Guide – Trailhead

    Hope this helps!

0/9000
1 Antwort
  1. 10. Okt., 09:43

    Hi @Yella Vani

    As a Salesforce fresher, you don't need expert-level knowledge, but you should have a strong understanding of security concepts with practical examples. 

     

    Focus on these key areas:

    1. OWD: Understand Private, Public Read Only, and Public Read/Write with real-time scenarios.
    2. Role Hierarchy: Know how record access can be provided to users higher in the hierarchy.
    3. Sharing Rules: Understand Owner-Based and Criteria-Based Sharing Rules and when to use them.
    4. Profiles: Understand baseline permissions, object access, field-level security, and login restrictions.
    5. Permission Sets: Know how to provide additional permissions without changing the user's profile.
    6. Practical Scenarios: Practice questions like:
      • Two users have the same profile but see different records. Why?
      • A user can view a record but cannot edit it. What could be the reason?
      • How do you provide record access to another department?

    My suggestion: Don't just memorize definitions. Create 3–4 users in a Developer Org and test different security settings.

    For fresher interviews, practical understanding and the ability to explain real-world scenarios are more important than advanced concepts.

0/9000

#Trailhead #Salesforce #Security #Permissionset For interviews, how deeply should a fresher understand Salesforce security concepts such as OWD, Role Hierarchy, Sharing Rules, Profiles, and Permission Sets? 

2 Antworten
  1. 9. Okt., 14:33

    Hi @ROHIT PIPPERA

     

    As a fresher, you don't need advanced knowledge of Salesforce security, but you should be strong in the basics. 

     

    Focus on these key concepts:

    1. OWD: Understand Private, Public Read Only, and Public Read/Write.
    2. Role Hierarchy: Know how managers can access their team's records.
    3. Sharing Rules: Understand how to provide additional record access.
    4. Profiles: Learn about baseline user permissions.
    5. Permission Sets: Know how to provide extra permissions without changing profiles.
    6. Field-Level Security: Understand how to control field visibility and edit access.

    My suggestion:

     Don't just learn definitions. Create a few users in a practice org and test different security scenarios. 

     

    Interviewers may ask why two users with the same profile can see different records or why a user can view a record but cannot edit it.

    If you can explain these scenarios confidently, you're well-prepared for fresher-level interviews. 

     

    All the best! 

     

    Thank you, 

    Venkat Yadav.

0/9000

Hi everyone, for this module "Control What Your Users Can Access", all the instructions are based on "select the permissions you want", but I have no idea which to choose, so I'm doing it randomly, is it okay to proceed like this?  

 

I wonder if that's the reason I can't follow the steps to complete the final challenge for the "Account Access" permission set. In the "Enable Account Object Permissions" step,  all the boxes of "read, edit" etc are all grayed out and I can't change a thing. Please help me, I'm struggling a lot at this module.  

 

#Trailhead Challenges  #Certifications  #Permissionset

2 Antworten
  1. 5. Okt., 05:12

    Hello everyone, thanks for your help.  

     

    Turns out I was trying to create the permission directly in the "Permission Set Groups" instead of "Permission Sets". I could create the permission set there and the edit button was there so I could select it all. 

0/9000

Hey Community. 

 

I have what I thought was quite a simple requirement for a user permission.    

 

I have user a who is assigned a profile which provides read and view all for opportunities.  I have then assigned them to a permission set which provides all those profile users the ability to edit only 5 fields but on all record types.   

 

I then have a second permission set assigned only to this specific user which allows them to create and edit funding and legacy record type opportunities with full edit permission on all fields on those records types.   

 

However, they are still able to create opportunities of any record type and have full edit which we do not want.   

 

I have been researching this and the conclusion is that SF combines those permissions, taking the 'create and full edit' from one and 'all record types' from the other.  This does not make sense to me and I cannot believe that this is not achievable through permission sets. I feel as though I am missing something obvious. 

 

Does anyone have any suggestions on how to achieve this OOB.  

 

Many thanks 

Natalie Gorman 

 

#Security  #Permissionset

3 Antworten
  1. 21. Sept., 09:03

    @Rahul Chauhan

    , thank you.  I've used validation rules and custom permissions to achieve other rules but I don't think this is a practical solution for this one as we are effectively saying if they try to edit and save any of the fields bar 5 on the opportunity then prevent that.  I don't believe there is a way in a validation to say allow only these 5 fields,  and thererore I would have to list all the fields that they cannot edit - is that correct?  In which case there are too many fields and the managing of this if new fields were added to the opportunity doesn't make it a sensible option.   

     

    I think the only other alternative out of the box would be to have a seperate profile which we were trying to avoid. Do you agree that is the only other option without resorting to apex or such like?

0/9000

I have a flow that guides users through a manual lead conversion, when converting to an opportunity they are able to select the opportunity record type that they want to create.  However the flow will give them the option of every available opportunity record type, not just the ones they have permissions for.  Is there a declarative solution to this , to only show the ones they have permissions for, without using an apex class? 

 

#Flow  #Record Types  #Permissionset

3 Antworten
  1. 20. Aug., 12:54

    Hi Carolyn - the catch is that RecordType is metadata every user can read, so a Get Records or Record Choice Set on RecordType always returns them all, regardless of who is assigned. There is no native 'filter record types by assignment' in Flow. Two routes that need no Apex you write or maintain: 

     

    1. UnofficialSF's 'User-Aware Record Type Picker for Flows' - a free installable screen component built for exactly this; it shows only the record types the running user is actually assigned. Cleanest option if you are OK installing a component. 

     

    2. Pure-native with Custom Permissions - create one Custom Permission per opportunity record type (or per group), assign each on the same permission set that grants that record type, then set each choice's component visibility (or a Decision) on the running user having that permission via Permission.YourCustomPermission. 100% declarative; the trade-off is you maintain the mapping, so it fits best when the record-type count is small. 

     

    Tip: also run the screen flow in User Mode so field/record access is enforced - just note User Mode will not filter the record-type list itself, since that is assignment, not record access. 

     

    If this helps, please mark it as the Best Answer so it helps the next person - thanks :)

0/9000

the error name is  We can't find that the ‘Manage Job Applications’ permission set grants read access and edit access to all Job Application fields, except edit access for Position and Candidate.  error in permission sets issems any way to clear this error? 

 

#Trailhead Challenges  #Trailhead  #Permissionset

3 Antworten
0/9000

Hello, 

 

I have a Flow Action on an Agentforce Service Agent that should be able to create Event records. The flow works in debug mode but when the agent tries to run the flow I get this error: 

 

an error occurred while your "Create Conference Event for Contact" flow was running.

Debug this flow in Flow Builder.

 

Error element Create_Event (FlowRecordCreate). 

This error occurred when the flow tried to create records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: entity type cannot be inserted: Event. You can look up ExceptionCode values in the

SOAP API Developer Guide

. 

 

I tried to give the agent access to events with a permission set, but there is no option in aa permission set to give Create access to the Event object. Only to change some it's field's access. I thought maybe then that you could do it from the Activity object in the permission set (since tasks and events stem from Activity) but this does not appear to be the case either.  I cannot see an Activities object at all in the Object Settings in a new permission set.

 

Please help if you have any idea how to make it possible for a Service Agent to have access to create Event records.  

 

Thank you! 

 

#Agentforce  #Permissionset

7 Antworten
  1. 20. Sept. 2025, 14:42

    this is a classic Salesforce "Event object permissions" gotcha.

    Here’s what’s happening and how to fix it:

    Why Debug Works but the Agent Fails

    • Debug mode runs as you (the Flow Builder), not the agent. 

      That’s why it works in debug, but fails when the agent runs it.

    • The error CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: entity type cannot be inserted: Event means the user doesn’t have permission to create Events.

    Why You Don’t See "Event" in Permission Sets

    • Events (and Tasks) are controlled by the Activity object, but Salesforce doesn’t show "Activity" in Object Settings in permission sets.
    • Instead, Create/Read/Edit/Delete access for Events and Tasks is granted through Profiles or Record Types setup.

    How to Give Agents Event Create Access

    You have a few options:

    1. Profile Level (most common)

    1. Go to Setup → Profiles.
    2. Open the Service Agent’s Profile.
    3. Scroll to Standard Object Permissions.
    4. Find Activities → check Create, Read, Edit, Delete (or just Create if that’s all you need).

    2. Permission Set (if you don’t want to edit the profile)

    • In a Permission Set, you won’t see Activities in the "Object Settings" section.
    • Instead:
      1. Edit the Permission Set.
      2. Go to App Permissions.
      3. Under Salesforce CRM, find Activities and Calendar–related permissions (like "Edit Events", "Allow Events").
      4. Assign that permission set to your agents.

    3. Check Record Types & Page Layouts

    • Make sure the Event record type(s) are assigned to the agent’s profile/perm set.
    • If no Event record type is assigned, they won’t be able to create Events even with CRUD access.
0/9000

Ok...So I feel like this is somewhat an answer I should know considering I have been an Admin for over 10 years now. 

 

But..... 

 

Back in the day, when installing an app from the AppExchange, most of the time I would just install for all Profiles/users. In the last couple of years. It did depend, of course, flow components and some apps, I just installed for the System Admin Profile. So far, no problem with that model. 

 

Where I am getting stuck or a bit confused is around the new model of Permissions being driven by Permission Sets and not profiles.  So in the future, or even now, if I install an app, I still have to select a profile or profiles.  Even if I choose the "Specific Profiles" option the main System Admin Profile get's full access, even if the App does have Permission sets and so on.  

 

The Profile still get's access to the Visualforce pages, Classes, etc, even though we are supposed to move those permissions to a Permission Set(s).  It's confusing to me. 

 

So in this "new" model of Permission Sets, what is the role of Profiles when it comes to installing apps? Do you still just install for System Admin only? And if the app has Permission Sets use that for the rest of the users, etc?  I am just stuck on how installing Apps from the AppExchange fit in this new Permissions Model... 

 

#Nonprofit #Systems Administrator #Permissionset

7 Antworten
  1. 15. März, 23:18

    The Current Best Practice

    Install for System Administrators only, then use Permission Sets (or Permission Set Groups) to grant access to other users. This is the right approach, and here's why:

    Why This Model Makes Sense

    1. Profiles are becoming baseline containers – They define the minimum floor of access (object CRUD, app visibility, page layouts, record types). The System Administrator profile remains special because Salesforce pushes critical updates to it (like the recent "Manage Connected Apps" permission).
    2. Permission Sets layer on top – All incremental access—including app-specific permissions, Apex classes, Visualforce pages, and custom permissions—should be granted via Permission Sets or Permission Set Groups.
    3. Admins still need Permission Sets sometimes – As Judi correctly noted, even after installing for Admins, some apps require you to assign their Permission Set(s) to actually use the app. This is intentional: the app may include custom permissions, connected app policies, or field-level security that aren't automatically granted just because you're a System Admin.

    What Happens During Installation

    When you install an AppExchange package and select "Install for Admins Only":

    • Profile-level grants (Apex classes, Visualforce pages, custom tabs) go to the System Administrator profile
    • The app's Permission Sets are created but not automatically assigned—you must assign them manually, even to yourself
    • Other profiles get nothing unless you explicitly choose them during install

    Recommended Pattern

    For System Administrators

    • Do not clone the standard "System Administrator" profile. Salesforce deploys critical updates only to the standard profile.
    • Create a custom Permission Set (e.g., "Acme System Administrator") to grant any additional permissions your admins need beyond the standard profile—new field access, integrations, etc.
    • Assign app-specific Permission Sets to admins when needed.

    For End Users

    • Install apps for Admins only.
    • After installation, assign the app's Permission Sets (or build Permission Set Groups) to the appropriate users based on role/function.
    • Use Permission Set Groups to bundle related permissions (app access + object permissions + field access) for easier assignment.

    Why Profiles Still Exist in the Install Flow

    Salesforce hasn't fully deprecated profiles—they're still the required baseline for every user. The install wizard asks for profiles because:

    • It needs to grant access to Apex classes, VF pages, and other package components
    • Not all packages include Permission Sets (especially older ones)
    • The System Administrator profile is the safest default for initial installation

    Over time, expect Salesforce to evolve this (possibly auto-creating Permission Sets during install or allowing install without profile selection), but for now, "Install for Admins Only" + Permission Sets is the cleanest, most future-proof approach.

    Bottom Line

    You're on the right track. The confusion is normal—Salesforce is mid-transition, and the install experience hasn't fully caught up to the permission set model. Stick with:

    ✅ Install for System Administrator profile only 

    ✅ Leave the standard System Administrator profile untouched 

    ✅ Use a custom "System Administrator" Permission Set for any add-on admin permissions 

    ✅ Assign app Permission Sets manually after install 

    ✅ Use Permission Set Groups to bundle access for end users

    This keeps your org clean, maintainable, and aligned with Salesforce's direction.

0/9000

When I tried to create a user Max Jackson, In the roles there is no license option of Salesforce , So I created the user under Salesforce option. While trying to add Max Jackson in Sales Processing assignment group. I got an error saying u cannot add this person. Then I started debugging the issue to know where it went wrong. Then I realized I assigned the wrong license. After digging much deeper I found out that we can assign only 2 users to salesforce license. Then I found which user is not in need for me and then I changed that user to another License and assigned Max Jackson to the salesforce license. Now I'm successfully able to add Max Jackson to the Sales Processing permission group. 

 

#Trailhead Challenges  #Permissionset

4 Kommentare
  1. 15. März, 16:08

    Thank you for solving this! This worked for me too. 

0/9000