Skip to content

Instantly share code, notes, and snippets.

@hone
Created August 4, 2009 21:52
Show Gist options
  • Save hone/161804 to your computer and use it in GitHub Desktop.
Save hone/161804 to your computer and use it in GitHub Desktop.
=> Mixing in Lockdown version: 1.1.0
=> Requiring Lockdown rules engine: /home/hone/Projects/oib/boxboss/lib/lockdown/init.rb
DashboardController
responding to GET index
>> Lockdown: Permission not found in db: Login, creating.
>> Lockdown: Permission not found in db: Venue Director Dashboard, creating.
>> Lockdown: Permission not found in db: Register Account, creating.
>> Lockdown: Permission not found in db: My Account, creating.
>> Lockdown: UserGroup not in the db: Venue Director, creating.
should redirect to the login page if the user is not logged in
already logged in
>> Lockdown: Permission not found in db: Login, creating.
>> Lockdown: Permission not found in db: Venue Director Dashboard, creating.
>> Lockdown: Permission not found in db: Register Account, creating.
>> Lockdown: Permission not found in db: My Account, creating.
>> Lockdown: UserGroup not in the db: Venue Director, creating.
should redirect to login if not venue director
venue director
>> Lockdown: Permission not found in db: Login, creating.
>> Lockdown: Permission not found in db: Venue Director Dashboard, creating.
>> Lockdown: Permission not found in db: Register Account, creating.
>> Lockdown: Permission not found in db: My Account, creating.
>> Lockdown: UserGroup not in the db: Venue Director, creating.
should return success
responding to GET suite_owner
>> Lockdown: Permission not found in db: Login, creating.
>> Lockdown: Permission not found in db: Venue Director Dashboard, creating.
>> Lockdown: Permission not found in db: Register Account, creating.
>> Lockdown: Permission not found in db: My Account, creating.
>> Lockdown: UserGroup not in the db: Venue Director, creating.
should redirect to the login page if the user is not logged in
already logged in
>> Lockdown: Permission not found in db: Login, creating.
>> Lockdown: Permission not found in db: Venue Director Dashboard, creating.
>> Lockdown: Permission not found in db: Register Account, creating.
>> Lockdown: Permission not found in db: My Account, creating.
>> Lockdown: UserGroup not in the db: Venue Director, creating.
should expose events that are going to take place at this user's suites as @upcoming_event_availabilities (FAILED - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment