By Ira Herman
Use this workflow when working with teams to take advantage of Pull Requests and keep the master branch clean.
The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.
First the simplest/core layers, then optional layers depending on which features/functionality you want.
Specs |
|
---|---|
AUTHOR | Ira Herman |
LANGUAGE/STACK | Ruby on Rails Version 4, 5, or 6 |
/*! | |
* Shopify Admin Auditing | |
* | |
* Copyright (c) 2022 Eric Garside (http://sakaralife.com) | |
* Available under the MIT license: https://opensource.org/licenses/MIT | |
*/ | |
// The selector for permssion checkboxes label sets on the individual user pages (if shopify changes this) | |
const permissionSelector = 'label.Polaris-Choice_j5gzq:not([for^="Polaris"])' | |
// The selector for permission text within the checkbox label |
By Ira Herman
Live Video Walkthrough (bonus lesson) recording
================
UPDATE IN PROGRESS:
Experimenting with this instead:
Example resource: fruits
In I.N.D.U.C.E.S. route order:
URL | HTTP Verb | Action | Notes |
---|---|---|---|
/fruits/ | GET | index | INDEX when a user types localhost:3000/fruits in browser this route shows a list or index of all fruits |
/fruits/new | GET | new | NEW when a user types localhost:3000/fruits/new in browser this route shows the user a form to create a NEW fruit |