Skip to content

Instantly share code, notes, and snippets.

@hone

hone/gist:161804

Created Aug 4, 2009
Embed
What would you like to do?
=> 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
You can’t perform that action at this time.