Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove edit permissions across the board.

  • Loading branch information...
commit 359f6108b921938aa4445584b1e16c757467ae79 1 parent a79d20a
@bharat bharat authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  modules/tag/tests/Tags_Rest_Helper_Test.php
View
3  modules/tag/tests/Tags_Rest_Helper_Test.php
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.