Skip to content

Commit

Permalink
Put in placeholder permissions for Content and Submissions to stop ev…
Browse files Browse the repository at this point in the history
…erything from breaking per #78
  • Loading branch information
augustf committed May 2, 2012
1 parent 5bd77c6 commit 6cf484d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ def initialize(accessor)
# the ability to 'read' a feed implies that
# you can browse it's contents as well
can :read, Feed, :is_viewable => true
#TODO Content permissions per #78
can :read, Content if true
can :read, Submission if true

## Fields
# Anything can read fields and positions.
Expand Down

0 comments on commit 6cf484d

Please sign in to comment.