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
#This script will change the existing card database for wagn so that the root template card specifies that reads will require an authenticated user rather than anonymous access as was the default | |
# The role encapsulating read needs authenticated user | |
Card.find_by_name("Basic+*tform").permit(:read, Role[:auth]) |