mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Enable ability for administrators to delete users (#7296).
User's personal data (eg. preferences, tokens, private queries...) are deleted, public data (eg. issues, wiki edits, attachments...) are reassigned to the anonymous user. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4729 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -302,6 +302,9 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
|
||||
should_route :put, "/users/444", :controller => 'users', :action => 'update', :id => '444'
|
||||
should_route :put, "/users/444.xml", :controller => 'users', :action => 'update', :id => '444', :format => 'xml'
|
||||
|
||||
should_route :delete, "/users/44", :controller => 'users', :action => 'destroy', :id => '44'
|
||||
should_route :delete, "/users/44.xml", :controller => 'users', :action => 'destroy', :id => '44', :format => 'xml'
|
||||
end
|
||||
|
||||
# TODO: should they all be scoped under /projects/:project_id ?
|
||||
|
||||
Reference in New Issue
Block a user