non-admins are allowed to see the extension list now (read-only)
This commit is contained in:
parent
d715c38341
commit
7d63e08eaf
@ -2,14 +2,7 @@
|
|||||||
class ExtManagerTest extends SCoreWebTestCase {
|
class ExtManagerTest extends SCoreWebTestCase {
|
||||||
function testAuth() {
|
function testAuth() {
|
||||||
$this->get_page('ext_manager');
|
$this->get_page('ext_manager');
|
||||||
$this->assert_response(403);
|
$this->assert_title("Extensions");
|
||||||
$this->assert_title("Permission Denied");
|
|
||||||
|
|
||||||
$this->log_in_as_user();
|
|
||||||
$this->get_page('ext_manager');
|
|
||||||
$this->assert_response(403);
|
|
||||||
$this->assert_title("Permission Denied");
|
|
||||||
$this->log_out();
|
|
||||||
|
|
||||||
$this->log_in_as_admin();
|
$this->log_in_as_admin();
|
||||||
$this->get_page('ext_manager');
|
$this->get_page('ext_manager');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user