Merged 0.6 branch into trunk.
Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -31,9 +31,9 @@ class ProjectsTest < ActionController::IntegrationTest
|
||||
assert !Project.find(1).active?
|
||||
|
||||
get "projects/show", :id => 1
|
||||
assert_response :missing
|
||||
assert_response 403
|
||||
get "projects/show", :id => subproject.id
|
||||
assert_response :missing
|
||||
assert_response 403
|
||||
|
||||
post "projects/unarchive", :id => 1
|
||||
assert_redirected_to "admin/projects"
|
||||
|
||||
Reference in New Issue
Block a user