Custom Permissions
Manage custom permissions in Salesforce with Crudspace.io
Custom Permissions
The Custom Permissions tool in Crudspace.io allows administrators to create, view, and manage custom permissions in Salesforce. This feature provides a streamlined interface for controlling access to specific features or functionality through custom permissions.
Overview
Custom permissions in Salesforce enable you to define specific access controls that can be checked programmatically in formula fields, Visualforce pages, Apex code, and Lightning components. The Custom Permissions tool in Crudspace.io provides:
- A unified view of custom permissions across profiles and permission sets
- Bulk editing capabilities for custom permissions
- Easy creation and assignment of custom permissions
- Advanced filtering and search options
Accessing Custom Permissions
To access the Custom Permissions tool:
- Log in to Crudspace.io
- From the left sidebar, click on "Custom Perms"
Interface Components
Filter Panel
The left sidebar contains filters to help you focus on specific sets of custom permissions:
- Profiles Selector: Choose which profiles to include
- Permission Sets Selector: Choose which permission sets to include
- Custom Permissions Selector: Filter by specific custom permissions
Permissions Table
The main area displays a table of custom permissions with the following columns:
- Custom Permission Name: The name of the custom permission
- Parent Profile/Permission Set: The profile or permission set that contains this permission
- Enabled: Whether the custom permission is granted
Action Buttons
- New: Create new custom permission assignments
- Save: Save changes to modified permissions
- Delete: Remove selected permissions
- Refresh: Reload the current view
Working with Custom Permissions
Viewing Custom Permissions
- Select the profiles and/or permission sets from the filter panel
- Optionally, select specific custom permissions to filter the results
- The table will display all matching custom permission assignments
Modifying Custom Permissions
- Select the rows you want to modify in the table
- Click the checkboxes in the Enabled column to grant or revoke permissions
- Click "Save" to apply your changes to Salesforce
Creating New Custom Permission Assignments
- Click the "New" button
- In the "Create Custom Permission Assignments" dialog:
- Select the target profiles or permission sets
- Select the custom permissions to assign
- Enable the permissions as needed
- Click "Create" to add the new permission assignments
Deleting Custom Permission Assignments
- Select the permissions you want to remove in the table
- Click "Delete"
- Confirm the deletion in the dialog
- The permission assignments will be removed from Salesforce
Bulk Operations
The Custom Permissions tool supports bulk operations to efficiently manage permissions:
Bulk Assign
- Click "New" to open the creation dialog
- Select multiple profiles or permission sets
- Select multiple custom permissions
- Set the desired access level
- Click "Create" to apply the permissions in bulk
Bulk Modify
- Use the column headers to select all rows
- Or use the checkboxes to select specific rows
- Modify the Enabled status for all selected rows at once
- Click "Save" to apply all changes
Advanced Features
Search and Filter
Use the search functionality to quickly find specific custom permissions:
- Enter a search term in the Custom Permissions filter
- The list will filter to show only matching custom permissions
Row Limit Management
Control how many rows are displayed at once to improve performance:
- Use the row limit dropdown to select how many rows to display
- Choose between 100, 500, 1000, or All rows
Use Cases for Custom Permissions
Custom permissions are valuable for many scenarios, including:
- Feature Toggles: Enable or disable features for specific users
- Beta Access: Control access to beta or pilot features
- Progressive Rollout: Gradually roll out new functionality to users
- License Management: Control access to custom-developed features
- Permission Hierarchies: Create granular permission structures
Best Practices
- Naming Conventions: Use clear, descriptive names for custom permissions
- Documentation: Maintain documentation of which custom permissions control which features
- Minimize Redundancy: Avoid creating multiple custom permissions that control the same functionality
- Regular Audits: Periodically review custom permissions to ensure they align with your security requirements
- Testing: After making permission changes, test to ensure users can still access necessary features