This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
# This assumes you use rails credentials for the secret key, if not change KEY_BASE to your key location | |
# Also assumes you have the rails/config gem setup with a something like the following: | |
# | |
# cipher: | |
# salt: "\x87\xB2\x99\x14\xAA?\xA6;\xA3\x11^\xAB\xBE\x1C\x99\rl\xF4r\xCF\x91\x13\xC1\xAC\xD8HT\x1E\xA8\x04h\x95" | |
# | |
# You can (and should, don't use this one above!) generate your own salt using: | |
# |