---
title: 'Авторизация в Laravel'
url: 'https://graker.ru/news/2017/05/15/avtorizaciya-v-laravel'
language: ru
type: post
author: 'Роман Грачев'
published: '2017-05-15T11:35:00+03:00'
updated: '2017-05-15T11:38:31+03:00'
categories:
  - Laravel
  - Программирование
---

# Авторизация в Laravel

> In this post, we’ll make a toy posts app to show how Gate gives you liberty and decoupling. The web app will have two user roles (authors and editors) with the following permissions:
> 
> - Authors can create a post.
> - Authors can update their posts.
> - Editors can update any post.
> - Editors can publish posts.
> 
> **[An Introduction to Laravel Authorization Gates](https://laravel-news.com/authorization-gates)**

Полезно и наглядно.
