This guide will explain how to create an update restriction for the entry's author only.
## Introduction
In many cases you would like that only the author of an entry has the ability to update or delete it's own entries.
This is a feature that is requested many times and in this guide you will see how implement it by yourself.
## Example
For this example, we will need an Article Content Type.
Add a `text` field and a `relation` field for this Content Type.
The `relation` field is a **many-to-one** relation with User.<br>
One User can have many Articles and one Article can have only one User.<br>
Name the field `author` for the Article Content Type and `articles` on the User side.
Now we are ready to start customization.
## Apply the author by default
When we are creating a new Article via `POST /articles` we would like to apply the authenticated user that execute the request as author of this article.
To do that we will customize the `create` controller function of the Article API.
**Concepts we will use:**
Here is the code of [core controllers](../concepts/controllers.html#core-controllers).
We will also use this [documentation](../plugins/users-permissions.html#user-object-in-strapi-context) to access the current authenticated user information.