Created
March 26, 2010 14:51
-
-
Save natematias/344971 to your computer and use it in GitHub Desktop.
This file contains hidden or 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]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment