# Access Policies

Policies add conditional rules on top of roles and permissions. They let you define when and how access is granted based on context.

## What Policies Can Do

* **IP-based restrictions** — Allow access only from specific IP ranges or office networks
* **Time-based access** — Restrict access to business hours
* **Conditional access** — Require MFA for certain actions or locations
* **Resource-based rules** — Control access to specific resources or API endpoints

## Managing Policies

Navigate to **Access Control > Policies** to view and manage your access policies.

## Policy Evaluation

When a user attempts an action, AccessIQ evaluates:

1. Does the user's role grant the required permission?
2. Do any policies apply to this action?
3. Does the current context (IP, time, device) satisfy the policy conditions?

All conditions must be met for access to be granted.


---

# 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://accessiq.gitbook.io/accessiq-docs/roles-and-access-control/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.
