Watcher deletion of inactive user not possible for non-admin users
|Assignee:||Jean-Philippe Lang||% Done:|
|Ruby version||2.2.1-p85 (2015-02-26) [x86_64-linux]|
Add a test user account as a watcher for issue.
Lock one test user account.
Login as non-admin user, having permission to delete issue watchers.
In the issue the delete icon is shown, clicking that nothing happens.
In the log,
The destroy controller tries to find only the active users which returns nothing (ActiveRecord::RecordNotFound (Couldn't find User with 'id'=xxx)
#1 Updated by Jean-Philippe Lang about 2 years ago
- Subject changed from Watcher deletion of inactive user not possible for non-admin user having delete issue watchers permission to Watcher deletion of inactive user not possible for non-admin users
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 3.2.0
- Resolution set to Fixed
Fixed in r14946.