Bug #2880
SOGo user's assets not deleted
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-sogo | |||
Target version: | v6.6 | |||
Security class: | Resolution: | |||
Affected version: | v6.5-final | NEEDINFO: | No |
Description
nethserver-sogo does not delete user's assets (phonebook, agenda, preferences...) when an user account is deleted.
No action is performed on user-delete
event:
# rpm -ql nethserver-sogo | grep user-delete /etc/e-smith/events/user-delete /etc/e-smith/events/user-delete/services2adjust /etc/e-smith/events/user-delete/services2adjust/memcached
Expected behaviour
The sogo-tool remove
command must be run.
Version
nethserver-sogo-1.4.0-1.ns6.noarch
Acknowledgements
Bug discovered by Daniele Zardi.
History
#1 Updated by Stefano Fancello almost 7 years ago
- Status changed from NEW to TRIAGED
- Assignee set to Stefano Fancello
- % Done changed from 0 to 20
#2 Updated by Stefano Fancello almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- % Done changed from 20 to 30
#3 Updated by Stefano Fancello almost 7 years ago
nethserver-sogo commit 92e5343cad3f97b0318d36c79ce8526632e4b980
nethserver-sogo commit fb1ecdf90244d0cd183871dce1802223c27914f8
Test case:
nethserver-sogo commit fb1ecdf90244d0cd183871dce1802223c27914f8
Test case:
- create a user
- login with this user to SOGo
- create at least an event or a contact
- remove user from server manager
- check that there isn't any mysql table called USERNAME*
#4 Updated by Stefano Fancello almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Stefano Fancello) - % Done changed from 30 to 60
#5 Updated by Giacomo Sanchietti over 6 years ago
- Target version changed from v6.5 to v6.6-rc1
#6 Updated by Stefano Fancello over 6 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
repo: nethserver-testing
Package >= nethserver-sogo-1.4.0-8.0gitb09d4c7a.ns6.noarch.rpm
#7 Updated by Giacomo Sanchietti over 6 years ago
- Target version changed from v6.6-rc1 to v6.6
#8 Updated by Alessio Fattorini over 6 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
- user created
- login with this user to SOGo
- an event or a contact created at least
mysql> show tables like 'sogopippo%'; +-----------------------------+ | Tables_in_sogo (sogopippo%) | +-----------------------------+ | sogopippo001515c5da5 | | sogopippo001515c5da5_acl | | sogopippo001515c5da5_quick | | sogopippo00236d98e88 | | sogopippo00236d98e88_acl | | sogopippo00236d98e88_quick | +-----------------------------+
- User pippo deleted
mysql> show tables like 'sogopippo%'; Empty set (0.00 sec)
Verified
#9 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in nethserver-base:
- nethserver-sogo-1.5.0-1.ns6.noarch.rpm