> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-pt/productos/file-storage/concepts/users-groups-and-permissions.md).

# Utilizadores, grupos e permissões

Como dás acesso por utilizador e grupo, e como as permissões granulares com herança mantêm a informação controlada

O controlo de acesso assenta em três peças que trabalham em conjunto: utilizadores, grupos e permissões. Perceber como se encaixam é o que te poupa trabalho e evita acessos indevidos.

### Utilizadores

Cada pessoa acede com a sua identidade, gerida a partir da plataforma. O início de sessão pode ser feito com as suas credenciais ou com o seu e-mail, conforme preferires.

### Grupos

Um grupo reúne vários utilizadores para lhes atribuir acesso de uma só vez. É a unidade que simplifica tudo: em vez de dar permissões pessoa a pessoa, atribuis-lhas ao grupo e manténs o acesso por departamento ou equipa.

### Permissões granulares

As permissões são atribuídas a utilizadores e grupos sobre pastas e propagam-se para baixo por **herança**: o que está abaixo de uma pasta herda as suas permissões, salvo se definires algo diferente.

<figure><img src="https://1427657614-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2FSxos37xXbFsoh0uLi2O6%2Fdiagram-file-storage-permission-inheritance.png?alt=media&amp;token=9b43f346-5398-4085-bfad-4be07533159b" alt="Diagrama de herencia de permisos: el grupo Comercial tiene lectura y escritura sobre la carpeta; la subcarpeta Propuestas hereda y Confidencial rompe la herencia con una excepción solo para Dirección"><figcaption><p>Atribuis permissões a um grupo sobre a pasta; as subpastas herdam, salvo se definires uma exceção</p></figcaption></figure>

| Atribuis a | Para                                               |
| ---------- | -------------------------------------------------- |
| Utilizador | Casos pontuais ou acessos individuais              |
| Grupo      | O caso habitual: acesso por departamento ou equipa |

> #### 📘 Trabalha com grupos e privilégio mínimo
>
> Atribui permissões a grupos, não a pessoas: quando alguém entra ou muda de equipa, basta alterar a sua pertença ao grupo.
>
> E dá a cada grupo o acesso mínimo de que precisa; ampliar depois é fácil, retirar um acesso a mais chega sempre tarde.

### Onde continuar

* Sobre o que são atribuídas as permissões: [Estrutura de pastas.](https://docs.plenit.com/docs-pt/productos/file-storage/concepts/folder-structure.md)
* Como se partilha com externos: [Acesso e utilização partilhada.](https://docs.plenit.com/docs-pt/productos/file-storage/concepts/access-and-sharing.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-pt/productos/file-storage/concepts/users-groups-and-permissions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
