Skip to Content
Learn Rails 6: Accelerated Web Development with Ruby on Rails
book

Learn Rails 6: Accelerated Web Development with Ruby on Rails

by Adam Notodikromo
October 2020
Beginner
549 pages
8h 21m
English
Apress
Content preview from Learn Rails 6: Accelerated Web Development with Ruby on Rails
© Adam Notodikromo 2021
A. NotodikromoLearn Rails 6https://doi.org/10.1007/978-1-4842-6026-5_9

9. Friendship

Adam Notodikromo1 
(1)
Tokyo, Japan
 

In earlier chapters, you learned how to use Devise for authentication. We are requiring our users to sign in before accessing several pages in our app. However, in many scenarios, authentication is not enough. We need to implement access authorization as well.

To put it simply, access authorization is concerned with who can do what, who can access what, or who can see what. For instance, a user can set their profile to private, which limits their timeline only to their followers. This is authorization.

In this chapter, let’s see how we can implement access authorization using Bali. In the process, we will also ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Rails 5.2: Accelerated Web Development with Ruby on Rails

Learn Rails 5.2: Accelerated Web Development with Ruby on Rails

Stefan Wintermeyer
Beginning Rails 6: From Novice to Professional

Beginning Rails 6: From Novice to Professional

Brady Somerville, Adam Gamble, Cloves Carneiro Jr., Rida Al Barazi

Publisher Resources

ISBN: 9781484260265Purchase LinkPublisher Website