Skip to content

Commit

Permalink
Remove edit permissions across the board.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 31, 2010
1 parent a79d20a commit 359f610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/tag/tests/Tags_Rest_Helper_Test.php
Expand Up @@ -50,7 +50,8 @@ public function post_test() {
}

public function post_fails_without_permissions_test() {
access::deny(identity::everybody(), "edit", item::root());
// We have to remove edit permissions from everywhere
Database::instance()->query("UPDATE {access_caches} SET edit_1=0");
identity::set_active_user(identity::guest());

try {
Expand Down

0 comments on commit 359f610

Please sign in to comment.