[permissions] remove permissions when an alias is removed