Add cancan to gemfile and set it up but have not yet changed Abilities model. Add Rails Panel and Better Error gems to development. Add share action to Wikis controller, currently renders User index view.
Attempt to add toggle link next to users to share/unshare for a given wiki. Code not working, possibly something to do with HABTM.
Change from HABTM to HMT with Collaborations model (may become polymorphic later if needed). Update view so sharing and unsharing of individual users works. Currently does not use Ajax.
Clean up temporary files.
Fix bugs in User model for HMT association. Write simple authorization logic from scratch and confirm that editing from multiple users works and commits correctly. Modify commit method in Wiki model to allow passing in the current user. Attempt to write something in Cancan's Ability class but so far not using it.
Add will_paginate/array to all controllers.
Add true authorization to Wiki and WikiPage models. Override current_ability method to pass in page params.
Add exception handling when CanCan denies access to redirect to root.
Move accessible wiki helper to Wiki model and update code in Ability model.
Modify permissions so that only the Wiki owner can delete it (not collaborators).
Remove old before_filter in WikisController, now replaced by load_resource.
Fix bug in load_resource in WikisContoller that was preventing shared users from accessing wikis (due to not being current_user).
Use load_resource in WikiPagesController to replace old before_filters.
Fix bug in delete_page method in Wiki model. Page seems to be deleted but render/redirect not working.
Use load_resource in VersionsController to replace old before_filters.
Merge branch 'devise-cancan'