# Policies

The "Policies" submodule of the CodeMash Membership module is used to manage the permissions available in your app or project. Policies are specific permissions that can be granted or revoked independently of a role.

<figure><img src="/files/GYaLSce1nSPGYhkdxSSk" alt=""><figcaption></figcaption></figure>

In the "Policies" submodule, you can define custom policies that are relevant to your app or use the built-in policies provided by the Membership module. You can also assign policies directly to a user or include them as part of a role. This allows you to fine-tune the access and privileges of your users and control what they can and cannot do within the app.

You can use the "Policies" submodule to manage the permissions available in your app. You can use the Membership module's user management features to assign policies to your users or include them as part of a role. This can be useful for controlling your users' access and privileges and ensuring that they have the appropriate level of access to the features and functionality of your app.

<figure><img src="/files/8addVpERnaonaFnwLtQ9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
When you enable an additional module or integration in CodeMash, new functionality is added to the system. As part of this process, new permissions are automatically applied to system policies. These new permissions will be applied to registered users after the additional module or integration is enabled.

If you want to apply the new permissions to users who were already registered in the system, you can do so from the user profile page or using API or any SDK.&#x20;

You can use custom roles and policies to manage user access if you do not want to apply the new permissions to newly registered users. By creating custom roles and policies, you can fine-tune the permissions granted to different groups of users and ensure that only the necessary permissions are applied.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codemash.io/dashboard/membership/policies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
