# Data access

You typically only **see data** that is relevant to you and this is managed by database permission and restrictions.

Related page: [User licenses, profiles and permissions](/basics/getting-started/user-permissions-and-licenses.md) control **what you can do** in Phocas.

## Databases <a href="#dataaccessandpermissions-dataaccess" id="dataaccessandpermissions-dataaccess"></a>

Administrators manage access to your organization’s data using a combination of database permissions and restrictions to ensure the right data is seen by the right users. These permissions and restrictions can be set in user profiles, which can then be applied to multiple user accounts. They can also be applied to individual user accounts as required.

**Database permissions** give you access to a [database](/basics/getting-started/databases.md).

**Database restrictions** prevent you from accessing specific data items, such as a [dimension](/basics/getting-started/dimensions.md) or measure, within a database to which you have access. Typically, database restrictions are applied on a user-by-user basis, so if you don't have a restriction, you have access to all data items in the database. However, your administrator might set default database restrictions to allow that logic to be reversed. In this case, any user *without* a specific restriction will get the default restriction from the database. Instead of applying a user restriction to limit access, it is used to increase access.

{% hint style="info" %}
If you can't access a particular database or that item within a database, contact your administrator and ask them to review your access.
{% endhint %}

## Shared content <a href="#dataaccessandpermissions-datasharing" id="dataaccessandpermissions-datasharing"></a>

You'll only see [favorites](/basics/favorites/view-and-save-favorites.md) and [dashboards](/basics/dashboards/use-dashboards.md) in the menu and homepage if you created them or they've been shared with you.

If you have permission to share content items, you can only share items with users who have permission to see the underlying data. For example, if you try to share a favorite or dashboard containing *Branch X* financial information with a user who only has permission to view *Branch Y* data, you will get an error message.

{% hint style="info" %}
If you think another user should be able to see the data you are trying to share, ask your Phocas administrator about their permissions.
{% 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.phocassoftware.com/basics/getting-started/data-access.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.
