Retrieve the removed permissions.

Relate to issue #1432