> ## Documentation Index
> Fetch the complete documentation index at: https://support.entegrata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Default Permissions

> Configure base-level access permissions for canonical objects in your Lakehouse

## Overview

Default permissions define the base-level access control for each canonical object (entity type) in your Entegrata Lakehouse. These permissions apply to all resources of a specific entity type unless overridden by more specific access rules. Understanding and properly configuring default permissions is crucial for establishing a secure foundation for your data access control.

<Warning>
  **Critical Configuration Required:** All canonical objects default to **Deny (false)** permissions when first mapped. This means no users will have access to the data until you explicitly configure permissions.
</Warning>

## How Default Permissions Work

Default permissions operate at the entity level and provide a baseline for access control:

1. **Entity-Level Application**: Each canonical object type (e.g., Client, Matter, Timekeeper) has its own default permission setting
2. **Global Scope**: Default permissions apply to all resources within an entity type across your entire instance
3. **Override Capability**: Specific access rules can override default permissions for targeted subjects and resources
4. **Permission Inheritance**: New resources automatically inherit the default permissions of their entity type

<Info>
  Default permissions are the starting point for access control. They should be set based on your organization's general access philosophy - either "default open" (allow by default) or "default closed" (deny by default).
</Info>

## Access Requirements

To configure default permissions, you must have:

* Administrative privileges in the Entegrata Admin Portal
* Access to the Data Mapping configuration
* At least one mapped entity in your system
* Understanding of your organization's data access policies

## Configuring Default Permissions

### Step 1: Navigate to Entity Access Control

1. Go to **Data** → **Mapping** in the main navigation
2. Select the mapping configuration you want to modify
3. Click on the specific entity you want to configure
4. Navigate to the **Access Control** tab

<Frame>
  <img src="https://mintcdn.com/entegrata/Kz9Xs7Bm9SQEqBjN/data/access_control/images/default-permissions-01-access-control-tab.png?fit=max&auto=format&n=Kz9Xs7Bm9SQEqBjN&q=85&s=48d5f409c23ac4544c35037858e178ed" alt="Entity mapping page with Access Control tab highlighted" width="2194" height="108" data-path="data/access_control/images/default-permissions-01-access-control-tab.png" />
</Frame>

### Step 2: View Current Default Permissions

The Access Control tab displays a card showing the current default permission setting:

<Frame>
  <img src="https://mintcdn.com/entegrata/Kz9Xs7Bm9SQEqBjN/data/access_control/images/default-permissions-02-permissions-card-configure.png?fit=max&auto=format&n=Kz9Xs7Bm9SQEqBjN&q=85&s=5450c4e23e6aecfca674856b621e5806" alt="Default permissions card showing current Allow/Deny status" width="2592" height="282" data-path="data/access_control/images/default-permissions-02-permissions-card-configure.png" />
</Frame>

<ResponseField name="View Permission" type="setting">
  The permission level for viewing resources of this entity type. Can be set to:

  * **Allow**: All users can view resources by default
  * **Deny**: No users can view resources by default (requires explicit rules to grant access)
</ResponseField>

### Step 3: Modify Default Permissions

1. Click the **Configure** button on the Default Permissions card
2. The configuration modal will open

<Frame>
  <img src="https://mintcdn.com/entegrata/Kz9Xs7Bm9SQEqBjN/data/access_control/images/default-permissions-03-modal.png?fit=max&auto=format&n=Kz9Xs7Bm9SQEqBjN&q=85&s=3aeb6b72ec3ecf82a66eaba59d680da9" alt="Default permissions modal" width="1288" height="796" data-path="data/access_control/images/default-permissions-03-modal.png" />
</Frame>

3. Toggle the permission setting:
   * **Enable** (Green) = Allow access by default
   * **Disable** (Red) = Deny access by default

4. Review the impact statement that explains how this setting affects access

5. Click **Save** to apply the changes

<Frame>
  <img src="https://mintcdn.com/entegrata/Kz9Xs7Bm9SQEqBjN/data/access_control/images/default-permissions-04-modal-change.png?fit=max&auto=format&n=Kz9Xs7Bm9SQEqBjN&q=85&s=5e6f0d6e7ef9436a724028349e369ca1" alt="Default permissions modal change" width="1270" height="790" data-path="data/access_control/images/default-permissions-04-modal-change.png" />
</Frame>

<Warning>
  Changing default permissions affects all resources of this entity type immediately. Ensure you understand the impact before making changes, especially when switching from Allow to Deny.
</Warning>

### Step 4: Verify Changes

After saving:

1. The default permissions card will update to reflect the new setting
2. The permission badge will show the current state (green for Allow, red for Deny)
3. The change is logged in the audit trail with timestamp and user information

<Frame>
  <img src="https://mintcdn.com/entegrata/Kz9Xs7Bm9SQEqBjN/data/access_control/images/default-permissions-05-permissions-card-change.png?fit=max&auto=format&n=Kz9Xs7Bm9SQEqBjN&q=85&s=5d7bbf9e75f1641b8bbfbbdf882c9c31" alt="Default permissions card change" width="2572" height="276" data-path="data/access_control/images/default-permissions-05-permissions-card-change.png" />
</Frame>

## Permission Precedence

Understanding how default permissions interact with specific rules is crucial:

<Steps>
  <Step title="Default Permission Applied">
    When a user attempts to access a resource, the system first checks the default permission for that entity type
  </Step>

  <Step title="Rule Evaluation">
    The system then evaluates any specific rules that apply to the user (directly or through groups) and the resource
  </Step>

  <Step title="Most Specific Wins">
    More specific rules override default permissions. A rule targeting a specific user and resource takes precedence over entity-level defaults
  </Step>

  <Step title="Explicit Deny Wins">
    If multiple rules apply, an explicit Deny permission always takes precedence over Allow permissions
  </Step>
</Steps>

## Best Practices

### Choosing Your Default Strategy

<Warning>
  **For Law Firms:** Always use Default Deny (Restrictive) approach. Law firms handle sensitive client data that requires maximum security. Starting with permissive defaults poses unacceptable risks for client confidentiality and regulatory compliance.
</Warning>

<Tabs>
  <Tab title="Default Deny (Recommended)">
    **When to use:**

    * **Always for law firms and legal data**
    * Sensitive or regulated data
    * Compliance requirements
    * Production environments with strict security

    **Advantages:**

    * Maximum security by default
    * No accidental data exposure
    * Explicit grants required for all access
    * Clear audit trail of permissions
    * Meets compliance requirements

    **Implementation:**

    * Set all canonical objects to Deny by default
    * Create explicit rules for necessary access
    * Use groups to manage access efficiently
    * Document all permission grants
  </Tab>

  <Tab title="Default Allow (Not Recommended)">
    **Warning:** This approach is not recommended for law firms.

    **Limited use cases:**

    * Non-production test environments only
    * Public or non-sensitive data
    * Temporary development setups

    **Risks:**

    * Potential data exposure
    * Compliance violations
    * Client confidentiality breaches
    * Regulatory penalties

    **If used temporarily:**

    * Must transition to Default Deny before production
    * Requires extensive auditing
    * Document why this approach was chosen
  </Tab>
</Tabs>

### Configuration Guidelines

<Tip>
  **Start with Entity Classification**: Group your entities by sensitivity level and apply consistent default permissions to similar entity types.
</Tip>

<Tip>
  **Document Your Decisions**: Keep a record of why specific default permissions were chosen for each entity type to help future administrators.
</Tip>

<Tip>
  **Review Regularly**: Periodically review default permissions as your data and access requirements evolve.
</Tip>

<Tip>
  **Test Before Production**: Use the permission testing tools to verify that default permissions work as expected before applying them to production data.
</Tip>

## Common Scenarios

### Scenario 1: Public Reference Data

For entity types containing non-sensitive reference data (e.g., office locations, practice areas):

* Set default permission to **Allow**
* No additional rules needed for basic access
* Add deny rules only for specific exceptions

### Scenario 2: Client Confidential Data

For entity types containing sensitive client information:

* Set default permission to **Deny**
* Create rules to grant access to authorized teams
* Use group-based rules for easier management

### Scenario 3: Mixed Sensitivity Data

For entity types with varying sensitivity levels:

* Set default permission based on the most common case
* Use rules to handle exceptions
* Consider splitting into multiple entity types if complexity grows

## Impact on Other Features

Default permissions affect several aspects of the system:

* **Data Discovery**: Users can only discover resources they have permission to view
* **Reporting**: Reports only include data the user has permission to access
* **API Access**: API calls respect default permissions and rules
* **Search Results**: Search returns only permitted resources

## Troubleshooting

### Users Can't Access Expected Data

1. Check the default permission for the entity type
2. Verify no deny rules are blocking access
3. Test permissions using the testing tools
4. Review group memberships if using group-based rules

### Users Have Unexpected Access

1. Review default permissions (may be set to Allow)
2. Check for overly broad allow rules
3. Audit group memberships
4. Use permission explorer to trace access path

### Changes Not Taking Effect

1. Allow 1-2 minutes for propagation
2. Clear user session cache if immediate update needed
3. Verify the change was saved successfully
4. Check for conflicting rules that might override defaults

## Related Topics

* [Creating Access Rules](/data/access_control/managing-rules) - Override defaults with specific rules
* [Testing Permissions](/data/access_control/testing-permissions) - Verify your configuration
* [Managing Groups](/data/access_control/managing-groups) - Organize users for rule application
* [Enabling Access Control](/data/access_control/enabling-access-control) - Initial setup steps
