Skip to content

Commit

Permalink
113-bug-sorry-you-do-not-have-permission-to-get-blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Aug 20, 2009
1 parent 3fabd62 commit 638b020
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/omb/models/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ function Blog() {
$this->has_one( 'entry' );

// permissions
$this->let_read( 'all:everyone' );

$this->let_create( 'all:members' );
$this->let_write( 'all:members' );
$this->let_delete( 'all:members' );

$this->let_access( 'all:administrators' );

Expand Down

0 comments on commit 638b020

Please sign in to comment.